:root {
  --brand: #1f9d8f;
  --brand-dark: #137a6f;
  --brand-light: #e8f6f4;
  --text: #22312e;
  --muted: #5c6b68;
  --bg: #f7faf9;
  --card: #ffffff;
  --line: #e3ece9;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(20, 80, 72, .08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}

.logo { display: flex; align-items: center; gap: 10px; }

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}

.logo-text { font-size: 18px; font-weight: 700; letter-spacing: .5px; }

.nav-links { display: flex; gap: 26px; }
.nav-links a { color: var(--muted); font-size: 15px; }
.nav-links a:hover { color: var(--brand-dark); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, #1f9d8f 0%, #2ab3a3 55%, #3cc6b6 100%);
  color: #fff;
  padding: 84px 0 76px;
  text-align: center;
}

.hero h1 { font-size: 40px; line-height: 1.3; letter-spacing: 2px; }
.hero-sub { margin-top: 14px; font-size: 19px; opacity: .95; letter-spacing: 1px; }
.hero-desc { max-width: 660px; margin: 22px auto 0; font-size: 16px; opacity: .92; }

.hero-actions { margin-top: 34px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 13px 34px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  transition: .2s;
}

.btn-primary { background: #fff; color: var(--brand-dark); }
.btn-primary:hover { background: #f0fffd; text-decoration: none; transform: translateY(-2px); }

.btn-ghost { border: 1.5px solid rgba(255, 255, 255, .75); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .15); text-decoration: none; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-alt { background: #fff; }

.section-title {
  font-size: 28px;
  text-align: center;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 16px;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 52px;
  height: 4px;
  border-radius: 4px;
  background: var(--brand);
}

.section-desc { text-align: center; color: var(--muted); margin-top: 16px; font-size: 15px; }

.grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: .22s;
}

.card:hover { transform: translateY(-4px); border-color: #bfe6e0; }

.card-icon { font-size: 30px; }

.card h3 { margin: 12px 0 8px; font-size: 18px; }

.card p { color: var(--muted); font-size: 15px; }

.about-text { max-width: 780px; margin: 30px auto 0; color: #3a4a47; }

.features {
  list-style: none;
  max-width: 780px;
  margin: 26px auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
}

.features li { position: relative; padding-left: 28px; color: #3a4a47; }

.features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand);
  font-weight: 700;
}

/* ---------- Contact ---------- */
.contact-box {
  max-width: 620px;
  margin: 36px auto 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 32px;
}

.contact-box p { margin: 10px 0; }
.contact-box strong { display: inline-block; min-width: 88px; color: var(--text); }
.qrcode-hint { color: var(--muted); font-size: 15px; margin-top: 16px !important; }
.qrcode { display: block; width: 180px; margin: 18px auto 0; border-radius: 10px; }

/* ---------- Footer ---------- */
.site-footer {
  background: #14332e;
  color: #9fb8b3;
  padding: 40px 0 32px;
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
}

.footer-brand { color: #fff; font-size: 17px; font-weight: 600; letter-spacing: 1px; }
.footer-links { margin-top: 14px; }
.footer-links a, .footer-beian a { color: #9fb8b3; }
.footer-links a:hover, .footer-beian a:hover { color: #fff; }
.footer-beian { margin-top: 10px; }
.footer-copy { margin-top: 14px; color: #6f8b86; }
.sep { margin: 0 10px; color: #3b5751; }

/* ---------- Legal pages ---------- */
.legal { max-width: 860px; margin: 0 auto; padding: 48px 20px 70px; }
.legal h1 { font-size: 26px; text-align: center; margin-bottom: 8px; }
.legal .legal-date { text-align: center; color: var(--muted); font-size: 14px; margin-bottom: 30px; }
.legal h2 { font-size: 18px; margin: 28px 0 10px; color: var(--brand-dark); }
.legal p, .legal li { color: #3a4a47; font-size: 15px; }
.legal ul, .legal ol { padding-left: 22px; margin: 8px 0; }
.legal li { margin: 4px 0; }
.legal-back {
  display: inline-block;
  margin-bottom: 22px;
  font-size: 15px;
  color: var(--brand-dark);
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 32px; }
}

@media (max-width: 560px) {
  .nav-links { display: none; }
  .grid { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 54px; }
  .hero h1 { font-size: 27px; }
  .hero-sub { font-size: 16px; }
  .section { padding: 52px 0; }
  .section-title { font-size: 23px; }
}
