:root {
  --bg: #f7f8f4;
  --bg-soft: #eef2ea;
  --surface: #ffffff;
  --surface-strong: #16231f;
  --text: #15211d;
  --text-muted: #64706b;
  --text-inverse: #f7faf5;
  --line: rgba(27, 43, 37, 0.12);
  --line-strong: rgba(27, 43, 37, 0.2);
  --accent: #0f6b5c;
  --accent-strong: #0a5146;
  --accent-soft: #dbe9e3;
  --gold: #b88738;
  --shadow: 0 22px 70px rgba(21, 33, 29, 0.12);
  --shadow-soft: 0 14px 38px rgba(21, 33, 29, 0.08);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --container: 1120px;
  --space-section: clamp(72px, 10vw, 124px);
  --font-sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(15, 107, 92, 0.09), transparent 32%),
    linear-gradient(180deg, #fbfcf8 0%, var(--bg) 42%, #f0f3ed 100%);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.section {
  padding: var(--space-section) 0;
  scroll-margin-top: 96px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(27, 43, 37, 0.08);
  background: rgba(247, 248, 244, 0.86);
  backdrop-filter: blur(20px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 20px;
  font-weight: 760;
  line-height: 1;
}

.brand img {
  border-radius: 9px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: rgba(21, 33, 29, 0.78);
  font-size: 15px;
  font-weight: 560;
}

.nav-links a:not(.btn) {
  position: relative;
  padding: 8px 0;
}

.nav-links a:not(.btn)::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  background: var(--accent);
  content: "";
  opacity: 0;
  transform: scaleX(0.5);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-links a:not(.btn):hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 680;
  line-height: 1;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
  white-space: nowrap;
}

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

.btn-primary {
  background: var(--accent);
  box-shadow: 0 12px 28px rgba(15, 107, 92, 0.22);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-strong);
  box-shadow: 0 16px 34px rgba(15, 107, 92, 0.26);
}

.btn-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.74);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: rgba(15, 107, 92, 0.32);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.btn-small {
  min-height: 40px;
  padding: 0 18px;
  font-size: 14px;
}

.hero {
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  padding-top: clamp(64px, 9vw, 118px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  gap: clamp(40px, 7vw, 86px);
  align-items: center;
}

.hero-copy h1 {
  max-width: 760px;
  margin: 0;
  color: var(--text);
  font-size: clamp(44px, 7vw, 78px);
  font-weight: 820;
  line-height: 1.04;
}

.hero-copy p {
  max-width: 680px;
  margin: 26px 0 0;
  color: var(--text-muted);
  font-size: clamp(17px, 2.1vw, 21px);
  line-height: 1.85;
}

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

.hero-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), transparent 40%),
    var(--surface-strong);
  box-shadow: var(--shadow);
  color: var(--text-inverse);
  padding: clamp(22px, 4vw, 34px);
}

.hero-panel::before {
  position: absolute;
  top: -20%;
  right: -22%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(184, 135, 56, 0.24);
  content: "";
  filter: blur(44px);
}

.panel-topline {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(247, 250, 245, 0.58);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
  text-transform: uppercase;
}

.flow-stack {
  position: relative;
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.flow-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
  padding: 18px;
}

.flow-card.active {
  border-color: rgba(219, 233, 227, 0.38);
  background: rgba(219, 233, 227, 0.14);
}

.flow-index,
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  font-weight: 760;
}

.flow-index {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  color: #d4bd8a;
  font-size: 13px;
}

.flow-card strong {
  display: block;
  font-size: 17px;
  line-height: 1.3;
}

.flow-card p {
  margin: 7px 0 0;
  color: rgba(247, 250, 245, 0.64);
  font-size: 14px;
  line-height: 1.7;
}

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

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

.section-label {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading h2,
.activity-copy h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(30px, 4.2vw, 48px);
  font-weight: 800;
  line-height: 1.18;
}

.section-heading p,
.activity-copy p {
  margin: 18px 0 0;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.85;
}

.section-heading .btn {
  margin-top: 28px;
}

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

.feature-card {
  min-height: 238px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.7));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
  padding: 24px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.feature-card:hover {
  border-color: rgba(15, 107, 92, 0.24);
  box-shadow: var(--shadow-soft);
  transform: translateY(-3px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 16px;
}

.feature-card h3 {
  margin: 28px 0 10px;
  font-size: 21px;
  line-height: 1.35;
}

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

.token-section {
  background:
    linear-gradient(180deg, rgba(238, 242, 234, 0), var(--bg-soft) 18%, var(--bg-soft) 82%, rgba(238, 242, 234, 0));
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1fr);
  gap: clamp(34px, 6vw, 72px);
  align-items: center;
}

.token-points {
  display: grid;
  gap: 16px;
}

.point-card {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 42px rgba(21, 33, 29, 0.06);
  padding: 22px;
}

.point-card > span {
  width: 12px;
  height: 12px;
  margin-top: 8px;
  border: 3px solid rgba(15, 107, 92, 0.22);
  border-radius: 50%;
  background: var(--accent);
}

.point-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.4;
}

.point-card p {
  margin: 8px 0 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.75;
}

.activity-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: clamp(32px, 8vw, 96px);
  align-items: center;
  border: 1px solid rgba(27, 43, 37, 0.1);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.58)),
    radial-gradient(circle at 90% 12%, rgba(184, 135, 56, 0.14), transparent 34%);
  box-shadow: var(--shadow-soft);
  padding: clamp(28px, 6vw, 58px);
}

.activity-copy {
  max-width: 650px;
}

.activity-copy .btn {
  margin-top: 28px;
}

.qr-card {
  display: grid;
  justify-items: center;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  padding: 24px 22px 20px;
  box-shadow: 0 18px 45px rgba(21, 33, 29, 0.09);
}

.qr-card img {
  width: 160px;
  height: 160px;
}

.qr-card p {
  margin: 16px 0 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.4;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #101a17;
  color: rgba(247, 250, 245, 0.72);
  padding: 38px 0;
}

.site-footer .brand {
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.footer-brand p {
  margin: 12px 0 0;
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
  font-size: 14px;
}

.footer-links a,
.beian a {
  transition: color 180ms ease;
}

.footer-links a:hover,
.beian a:hover {
  color: #fff;
}

.beian {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  color: rgba(247, 250, 245, 0.52);
  font-size: 13px;
}

.compare-wrap {
  max-width: 880px;
  margin: 0 auto;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
}

.compare {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  font-size: 15px;
}

.compare th,
.compare td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.compare tbody tr:last-child td {
  border-bottom: 0;
}

.compare thead th {
  font-size: 13px;
  font-weight: 760;
  color: var(--text);
  letter-spacing: 0.02em;
}

.compare th:first-child,
.compare td:first-child {
  color: var(--text-muted);
  font-weight: 650;
  white-space: nowrap;
}

.compare .col-windsun {
  background: var(--accent);
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.16);
  font-weight: 600;
}

.compare thead .col-windsun {
  background: var(--accent-strong);
}

.compare-note {
  max-width: 880px;
  margin: 24px auto 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 15px;
  font-style: italic;
}

.pack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(212px, 1fr));
  gap: 14px;
}

.pack-chip {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.74);
  padding: 18px 20px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.pack-chip:hover {
  border-color: rgba(15, 107, 92, 0.24);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.pack-chip h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.4;
}

.pack-chip p {
  margin: 7px 0 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

.pack-chip.lead {
  border-color: rgba(15, 107, 92, 0.34);
  background: var(--accent-soft);
}

.pack-chip .lead-tag {
  display: inline-block;
  margin-bottom: 9px;
  padding: 3px 11px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 720;
  letter-spacing: 0.05em;
}

.pack-lead-note {
  margin: 26px 0 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.85;
}

.pack-lead-note strong {
  color: var(--text);
}

.feature-grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
  }

  .hero-grid,
  .split-layout,
  .activity-layout {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 620px;
  }

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

  .activity-layout {
    padding: 30px;
  }

  .qr-card {
    justify-self: start;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .nav {
    min-height: 66px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    top: 66px;
    right: 14px;
    left: 14px;
    display: grid;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
    padding: 14px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a:not(.btn) {
    padding: 12px 10px;
  }

  .nav-links .btn {
    width: 100%;
    margin-top: 4px;
  }

  .section {
    scroll-margin-top: 78px;
  }

  .hero-copy h1 {
    font-size: clamp(40px, 12vw, 56px);
  }

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

  .hero-actions .btn {
    width: 100%;
  }

  .panel-topline {
    flex-direction: column;
    gap: 4px;
  }

  .flow-card {
    grid-template-columns: 40px 1fr;
    padding: 16px;
  }

  .flow-index {
    width: 40px;
    height: 40px;
  }

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

  .feature-card {
    min-height: 0;
  }

  .activity-layout {
    padding: 24px;
  }

  .qr-card {
    width: 100%;
  }

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

  .footer-links {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
