﻿:root {
  --bg: #f5fcf8;
  --surface: #ffffff;
  --line: #cbe8db;
  --text: #12352d;
  --muted: #4f6f66;
  --brand: #07c160;
  --brand-dark: #099757;
  --tech: #0d6d88;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 10%, #dff8ec 0%, transparent 35%),
    radial-gradient(circle at 92% 0%, #def2ff 0%, transparent 28%), var(--bg);
  line-height: 1.6;
}

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

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.header-glow {
  position: fixed;
  top: -120px;
  left: 50%;
  width: min(1100px, 95vw);
  height: 320px;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 14% 40%, rgba(7, 193, 96, 0.18), transparent 40%),
    radial-gradient(
      circle at 84% 32%,
      rgba(13, 109, 136, 0.16),
      transparent 42%
    );
  pointer-events: none;
  z-index: 1;
}

.topbar {
  position: sticky;
  top: 12px;
  z-index: 30;
  margin: 10px auto 0;
  width: min(1140px, 96vw);
  border: 1px solid rgba(171, 222, 199, 0.86);
  border-radius: 18px;
  backdrop-filter: blur(14px);
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.78) 0%,
    rgba(240, 255, 249, 0.82) 52%,
    rgba(233, 248, 255, 0.82) 100%
  );
  box-shadow:
    0 10px 30px rgba(14, 97, 72, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 2;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.06rem;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  position: relative;
  background: linear-gradient(
    140deg,
    rgba(7, 193, 96, 0.16),
    rgba(13, 109, 136, 0.18)
  );
  border: 1px solid rgba(153, 220, 191, 0.9);
}

.brand-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  position: absolute;
  left: 8px;
  top: 8px;
  background: linear-gradient(140deg, var(--brand), #3dd3a0);
  box-shadow: 0 0 0 5px rgba(7, 193, 96, 0.15);
}

.brand-dot.small {
  width: 8px;
  height: 8px;
  left: 18px;
  top: 18px;
  box-shadow: none;
  background: #0d6d88;
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

.brand-text b {
  font-size: 1.02rem;
  letter-spacing: 0.02em;
}

.brand-text em {
  font-style: normal;
  font-size: 0.68rem;
  color: #4f766a;
  letter-spacing: 0.06em;
}

.nav-links {
  display: flex;
  gap: 14px;
}
.nav-links a {
  color: #315f52;
  font-weight: 600;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}
.nav-links a:hover {
  color: var(--brand-dark);
  border-bottom-color: #84dbb8;
}

.entry-links {
  display: flex;
  gap: 10px;
  align-items: center;
}

.entry-links a {
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(170, 225, 199, 0.95);
  background: rgba(240, 253, 246, 0.78);
  color: #126349;
  font-size: 0.84rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.entry-links a:hover {
  background: #def8eb;
  transform: translateY(-1px);
}

.header-cta {
  border-radius: 11px;
  padding: 9px 14px;
  font-size: 0.86rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #07c160, #1cc58d);
  box-shadow: 0 10px 22px rgba(7, 193, 96, 0.26);
  white-space: nowrap;
}

.hero {
  padding: 56px 0 36px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  align-items: stretch;
}

.kicker {
  margin: 0;
  color: var(--tech);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.84rem;
  font-weight: 700;
}

h1 {
  margin: 10px 0 16px;
  line-height: 1.2;
  font-size: clamp(1.9rem, 5vw, 3rem);
}

.lead {
  margin: 0;
  color: var(--muted);
  max-width: 56ch;
}

.hero-actions {
  margin-top: 22px;
  display: flex;
  gap: 10px;
}

.btn {
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 10px 15px;
  cursor: pointer;
  font-weight: 700;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), #2fcfa2);
}

.btn-ghost {
  color: var(--brand-dark);
  background: #ebfbf4;
  border-color: #b9e8d3;
}

.hero-panel {
  border-radius: 18px;
  padding: 20px;
  background: linear-gradient(158deg, #0d6d88 0%, #0d855f 100%);
  color: #e7fff4;
  box-shadow: 0 14px 30px rgba(11, 84, 76, 0.2);
}

.hero-panel h3 {
  margin-top: 0;
}
.hero-panel ul {
  margin: 0;
  padding-left: 18px;
}
.hero-panel li {
  margin-bottom: 8px;
}

.section {
  padding: 24px 0;
}
.section-soft {
  background: linear-gradient(180deg, #eefdf5 0%, #f8fffd 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head h2 {
  margin: 0;
}
.section-head p {
  margin-top: 6px;
  color: var(--muted);
}

.card-grid,
.compare-grid,
.quick-grid,
.support-grid {
  margin-top: 16px;
  display: grid;
  gap: 14px;
}

.card-grid {
  grid-template-columns: repeat(2, 1fr);
}
.compare-grid {
  grid-template-columns: repeat(2, 1fr);
}
.quick-grid {
  grid-template-columns: repeat(5, 1fr);
}
.support-grid {
  grid-template-columns: repeat(2, 1fr);
}

.card,
.compare-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 16px;
  box-shadow: 0 10px 20px rgba(13, 87, 73, 0.07);
}

.card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #d2ece0;
  background: #f2fcf7;
}

.compare-grid .highlight {
  border-color: #8adbb9;
  box-shadow: 0 12px 24px rgba(7, 140, 95, 0.16);
}

.quick-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 10px 20px rgba(13, 87, 73, 0.07);
}

.quick-item h3 {
  margin: 0;
  font-size: 1rem;
}

.quick-item p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.qr-img {
  width: min(220px, 100%);
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  border: 1px solid #d5ece2;
  background: #f6fffa;
  margin-top: 10px;
}

.enter-form {
  margin-top: 16px;
  display: grid;
  gap: 12px;
  max-width: 640px;
}

.enter-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
}

.enter-form input {
  border: 1px solid #c3e6d8;
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
  background: #fcfffd;
}

.enter-form input:focus {
  outline: 2px solid #95e2c3;
  border-color: #79d8ad;
}

.tip {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer {
  border-top: 1px solid var(--line);
  background: #f2fbf7;
  margin-top: 24px;
}

.footer-inner {
  min-height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .hero-grid,
  .card-grid,
  .compare-grid,
  .quick-grid,
  .support-grid,
  .footer-inner {
    grid-template-columns: 1fr;
    display: grid;
  }

  .nav-wrap {
    min-height: auto;
    padding: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
  }

  .entry-links {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .header-cta {
    width: 100%;
    text-align: center;
  }

  .topbar {
    top: 6px;
  }

  .brand-text em {
    display: none;
  }

  .hero {
    padding-top: 32px;
  }

  .footer-inner {
    text-align: center;
    padding: 14px 0;
  }
}
