:root {
  --bg: #0f1c16;
  --bg-soft: #16261e;
  --card: #1b2e24;
  --text: #f3f7f4;
  --muted: #a7b8ae;
  --accent: #3ddc84;
  --accent-deep: #1f8f4d;
  --line: rgba(255, 255, 255, 0.08);
  --serif: "Noto Serif SC", "Songti SC", serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 6vw;
  background: rgba(15, 28, 22, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.brand {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  color: var(--muted);
}

.nav a:hover { color: var(--text); }

.nav-cta {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: #062214 !important;
  font-weight: 700;
}

.nav-download {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(61, 220, 132, 0.55);
  color: var(--accent) !important;
  font-weight: 700;
}

.nav-download:hover {
  background: rgba(61, 220, 132, 0.12);
}

.download-tip {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  padding: 0 6vw 10vh;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 28, 22, 0.25) 0%, rgba(15, 28, 22, 0.92) 78%),
    radial-gradient(ellipse at 70% 20%, rgba(61, 220, 132, 0.22), transparent 50%),
    url("https://images.unsplash.com/photo-1501785888041-af3ef285b470?auto=format&fit=crop&w=1920&q=80") center/cover no-repeat;
  transform: scale(1.02);
  animation: drift 18s ease-in-out infinite alternate;
}

@keyframes drift {
  from { transform: scale(1.02) translateY(0); }
  to { transform: scale(1.06) translateY(-12px); }
}

.hero-content {
  position: relative;
  max-width: 720px;
  animation: rise 0.9s ease both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.brand-mark {
  font-family: var(--serif);
  font-size: clamp(42px, 8vw, 72px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: clamp(22px, 3.4vw, 34px);
  font-weight: 500;
  margin-bottom: 14px;
  max-width: 16em;
}

.hero-desc {
  color: var(--muted);
  font-size: 16px;
  max-width: 34em;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--accent);
  color: #062214;
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--text);
}

.section {
  padding: 88px 6vw;
}

.section-alt {
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 10px;
}

.section-lead {
  color: var(--muted);
  margin-bottom: 36px;
  max-width: 36em;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature {
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(61, 220, 132, 0.08), transparent 55%);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature:hover {
  border-color: rgba(61, 220, 132, 0.35);
  transform: translateY(-3px);
}

.feature h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.feature p {
  color: var(--muted);
  font-size: 14px;
}

.eco-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.eco-item {
  padding: 24px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--line);
}

.eco-tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(61, 220, 132, 0.14);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
}

.eco-item h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.eco-item p {
  color: var(--muted);
  font-size: 14px;
}

.entry-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.entry-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #132019;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.entry-card:hover {
  transform: translateY(-3px);
  border-color: rgba(61, 220, 132, 0.4);
}

.entry-card.current {
  border-color: var(--accent-deep);
  box-shadow: inset 0 0 0 1px rgba(61, 220, 132, 0.25);
}

.entry-card strong { font-size: 18px; }
.entry-card span { color: var(--accent); font-size: 13px; word-break: break-all; }
.entry-card em { color: var(--muted); font-style: normal; font-size: 13px; }

.site-footer {
  padding: 40px 6vw 28px;
  border-top: 1px solid var(--line);
  background: #0b1510;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  margin-bottom: 16px;
}

.footer-brand strong {
  font-family: var(--serif);
  font-size: 20px;
}

.footer-brand p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.beian {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: #8fa196;
}

.beian a:hover { color: var(--accent); }
.divider { opacity: 0.5; }

.copyright {
  margin-top: 12px;
  font-size: 12px;
  color: #6f8176;
}

@media (max-width: 1100px) {
  .entry-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .entry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .nav a:not(.nav-cta):not(.nav-download) { display: none; }
  .hero { min-height: 85vh; padding-bottom: 8vh; }
  .feature-grid,
  .eco-list,
  .entry-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 5vw; }
}
