:root {
  --bg: #f5f9f6;
  --surface: #ffffff;
  --surface-soft: #edf6f1;
  --surface-blue: #eef7f8;
  --line: #dce9e2;
  --line-strong: #bfd5cb;
  --text: #20352f;
  --muted: #70847c;
  --accent: #43a88e;
  --accent-dark: #257963;
  --accent-soft: #dff3eb;
  --blue: #4e9bab;
  --blue-soft: #dff1f5;
  --coral: #d97d67;
  --coral-soft: #fae8e2;
  --lavender: #8175b5;
  --lavender-soft: #ebe8f7;
  --yellow: #b58a32;
  --yellow-soft: #f8efd6;
  --warning: #b4823f;
  --shadow: 0 14px 38px rgba(45, 88, 73, 0.08);
  --shadow-hover: 0 20px 44px rgba(45, 88, 73, 0.13);
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(67, 168, 142, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(67, 168, 142, 0.035) 1px, transparent 1px);
  background-size: 40px 40px;
  font-family: var(--sans);
  line-height: 1.65;
  font-weight: 450;
  -webkit-font-smoothing: antialiased;
  animation: page-in 500ms ease-out both;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  background: var(--accent-soft);
  pointer-events: none;
}

body::before {
  width: 340px;
  height: 340px;
  top: 90px;
  right: -190px;
  background: var(--blue-soft);
  opacity: 0.62;
}

body::after {
  width: 230px;
  height: 230px;
  left: -140px;
  bottom: 110px;
  background: var(--coral-soft);
  opacity: 0.52;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  width: min(1160px, calc(100% - 40px));
  min-height: 76px;
  margin: 18px auto 0;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid rgba(220, 233, 226, 0.9);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 28px rgba(45, 88, 73, 0.055);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: slide-down 560ms 60ms ease-out both;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 17px;
  font-weight: 760;
  letter-spacing: 0.02em;
}

.brand-sub {
  margin-left: 7px;
  padding-left: 12px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.09em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
  transition: color 180ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent-dark);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.page {
  flex: 1;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.eyebrow,
.section-kicker {
  color: var(--accent-dark);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-kicker {
  position: relative;
  width: max-content;
  height: max-content;
  padding-bottom: 9px;
}

.section-kicker::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  border-radius: 3px;
  background: var(--accent);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: breathe 2.4s ease-in-out infinite;
}

.hero {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.72fr);
  align-items: center;
  gap: 72px;
}

.hero-copy {
  max-width: 720px;
  padding: 90px 0;
  animation: rise-in 650ms 100ms ease-out both;
}

.hero h1 {
  max-width: 760px;
  margin: 22px 0 22px;
  color: var(--text);
  font-size: clamp(46px, 6.8vw, 80px);
  font-weight: 820;
  letter-spacing: -0.06em;
  line-height: 1.04;
  text-wrap: balance;
}

.hero p {
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(16px, 1.9vw, 19px);
  font-weight: 500;
  line-height: 1.9;
}

.hero-panel {
  position: relative;
  min-height: 275px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
  animation: panel-in 680ms 180ms ease-out both;
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.hero-panel:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.hero-panel::before {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: -16px 0 0 var(--yellow), -32px 0 0 var(--accent);
}

.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
}

.hero-panel .section-kicker + .status-row {
  margin-top: 20px;
}

.status-row:last-child {
  border-bottom: 0;
}

.status-value {
  color: var(--text);
  text-align: right;
}

.status-value.online {
  color: var(--accent-dark);
}

.status-value.online::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: 1px;
  animation: breathe 2.4s ease-in-out infinite;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  font-weight: 720;
  cursor: pointer;
  box-shadow: 0 5px 14px rgba(45, 88, 73, 0.045);
  transition:
    transform 190ms ease,
    box-shadow 190ms ease,
    border-color 190ms ease,
    color 190ms ease,
    background 190ms ease;
}

.btn:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  color: var(--accent-dark);
  box-shadow: 0 10px 22px rgba(45, 88, 73, 0.1);
}

.btn:active {
  transform: translateY(-1px) scale(0.985);
}

.btn:focus-visible,
.site-nav a:focus-visible,
.card:focus-visible {
  outline: 3px solid rgba(67, 168, 142, 0.22);
  outline-offset: 3px;
}

.btn-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(67, 168, 142, 0.22);
}

.btn-primary:hover {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
  color: #fff;
  box-shadow: 0 12px 26px rgba(37, 121, 99, 0.24);
}

.platform-hint {
  margin-top: 13px;
  color: var(--muted);
  font-size: 12px;
}

.section {
  padding: 88px 0;
  border-top: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 42px;
  margin-bottom: 40px;
}

.section-head h2 {
  max-width: 680px;
  font-size: clamp(30px, 3.8vw, 46px);
  font-weight: 780;
  letter-spacing: -0.045em;
  line-height: 1.18;
  text-wrap: balance;
}

.section-head p {
  max-width: 680px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 480;
}

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

.card {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 24px rgba(45, 88, 73, 0.045);
  transition:
    transform 240ms cubic-bezier(0.2, 0.75, 0.25, 1),
    box-shadow 240ms ease,
    border-color 240ms ease;
}

.card:nth-child(6n + 1) {
  border-top-color: #8bc8b7;
}

.card:nth-child(6n + 2) {
  border-top-color: #8ec4ce;
  background: rgba(246, 251, 252, 0.96);
}

.card:nth-child(6n + 3) {
  border-top-color: #aaa1d0;
  background: rgba(250, 249, 253, 0.96);
}

.card:nth-child(6n + 4) {
  border-top-color: #e4aa9b;
  background: rgba(255, 250, 248, 0.96);
}

.card:nth-child(6n + 5) {
  border-top-color: #d9bc74;
  background: rgba(255, 253, 247, 0.96);
}

.card:nth-child(6n) {
  border-top-color: #87b9c4;
  background: rgba(247, 252, 253, 0.96);
}

.card:hover {
  transform: translateY(-7px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-hover);
}

.card-code {
  width: max-content;
  margin-bottom: 48px;
  padding: 7px 11px;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  box-shadow: inset 0 0 0 1px rgba(67, 168, 142, 0.12);
}

.card:nth-child(6n + 2) .card-code {
  background: var(--blue-soft);
  color: #347888;
}

.card:nth-child(6n + 3) .card-code {
  background: var(--lavender-soft);
  color: var(--lavender);
}

.card:nth-child(6n + 4) .card-code {
  background: var(--coral-soft);
  color: var(--coral);
}

.card:nth-child(6n + 5) .card-code {
  background: var(--yellow-soft);
  color: var(--yellow);
}

.card:nth-child(6n) .card-code {
  background: var(--blue-soft);
  color: var(--blue);
}

.card h3,
.card .name {
  margin-bottom: 9px;
  font-size: 20px;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.card p,
.card .desc {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.78;
}

.card .desc {
  flex: 1;
}

.card-meta,
.card .meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 27px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 750;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.badge::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: 1px;
  box-shadow: 0 0 0 4px rgba(67, 168, 142, 0.11);
}

.badge.soon {
  color: var(--muted);
}

.go {
  color: var(--blue);
  letter-spacing: 0.05em;
  transition: transform 180ms ease;
}

.card:hover .go {
  transform: translateX(4px);
}

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

.step {
  min-height: 190px;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--surface);
  counter-increment: steps;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.step::before {
  content: "0" counter(steps);
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 34px;
  place-items: center;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
}

.step:nth-child(4n + 2)::before {
  background: var(--blue-soft);
  color: var(--blue);
}

.step:nth-child(4n + 3)::before {
  background: var(--lavender-soft);
  color: var(--lavender);
}

.step:nth-child(4n)::before {
  background: var(--coral-soft);
  color: var(--coral);
}

.step h3 {
  margin-bottom: 7px;
  font-size: 18px;
  font-weight: 740;
}

.step p {
  color: var(--muted);
  font-size: 14px;
}

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

.plan {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  padding: 29px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(45, 88, 73, 0.045);
  transition: transform 230ms ease, box-shadow 230ms ease;
}

.plan:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.plan.featured {
  position: relative;
  border-color: #add9ca;
  background: var(--surface-soft);
}

.plan:first-child {
  border-top: 3px solid var(--blue);
}

.plan.featured {
  border-top: 3px solid var(--accent);
}

.plan:last-child {
  border-top: 3px solid var(--lavender);
}

.plan.featured::before {
  content: "推荐";
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 650;
}

.plan .label {
  color: var(--accent-dark);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.1em;
}

.plan .price {
  margin: 28px 0 23px;
  color: var(--text);
  font-size: 34px;
  font-weight: 800;
}

.plan .price span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

.plan ul {
  flex: 1;
  display: grid;
  align-content: start;
  gap: 9px;
  margin-bottom: 28px;
  list-style: none;
}

.plan li {
  color: var(--muted);
  font-size: 14px;
}

.plan li::before {
  content: "✓";
  margin-right: 9px;
  color: var(--accent);
  font-weight: 700;
}

.plan li strong {
  color: var(--text);
}

.download-box,
.cta-box,
.notice {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.download-box,
.cta-box {
  padding: clamp(28px, 5vw, 54px);
}

.download-box {
  border-top: 4px solid var(--blue);
}

.cta-box {
  border-top: 4px solid var(--accent);
}

.download-box h2,
.cta-box h2 {
  margin: 10px 0;
  font-size: clamp(27px, 3.3vw, 38px);
  font-weight: 780;
  letter-spacing: -0.04em;
}

.download-box .sub,
.cta-box .sub {
  color: var(--muted);
  font-size: 13px;
}

.dl-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 27px 0 16px;
}

.notice {
  margin-top: 20px;
  padding: 18px 20px;
  border-left: 4px solid #e5bd7e;
  border-radius: 8px 18px 18px 8px;
  color: var(--muted);
  font-size: 13px;
  box-shadow: none;
}

.notice strong {
  color: var(--warning);
}

.notice code {
  display: block;
  margin-top: 12px;
  padding: 12px 14px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-soft);
  color: var(--text);
  font-family: var(--mono);
  white-space: nowrap;
}

.site-footer {
  width: min(1120px, calc(100% - 40px));
  min-height: 100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
}

.site-footer a {
  transition: color 170ms ease;
}

.site-footer a:hover {
  color: var(--accent-dark);
}

@keyframes page-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slide-down {
  from { opacity: 0; transform: translateY(-14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes panel-in {
  from { opacity: 0; transform: translateY(22px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes breathe {
  0%, 100% { opacity: 0.6; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.08); }
}

@media (max-width: 860px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 0;
    padding-bottom: 58px;
  }

  .hero-copy {
    padding: 72px 0 46px;
  }

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

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

@media (max-width: 620px) {
  .site-header,
  .page,
  .site-footer {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    min-height: 64px;
    margin-top: 10px;
    padding: 0 14px;
    border-radius: 16px;
  }

  .brand-sub,
  .site-nav a:not(:last-child) {
    display: none;
  }

  .brand {
    font-size: 14px;
  }

  .hero-copy {
    padding-top: 62px;
  }

  .hero h1 {
    font-size: clamp(38px, 13vw, 54px);
  }

  .section {
    padding: 64px 0;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .grid,
  .plans,
  .steps {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: 210px;
  }

  .site-footer {
    min-height: 112px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
