:root {
  --green: #2e7d32;
  --green-light: #66bb6a;
  --teal: #26a69a;
  --bg: #f6fbf4;
  --text: #1f2a22;
  --muted: #5f6f63;
  --card: #ffffff;
  --radius: 20px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

/* 顶栏 */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(246, 251, 244, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(46, 125, 50, 0.08);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--text); }
.brand img { width: 32px; height: 32px; }
.nav-links a { margin-left: 24px; color: var(--muted); font-size: 15px; }
.nav-links a:hover { color: var(--green); text-decoration: none; }

/* 首屏 */
.hero {
  padding: 88px 0 72px;
  background:
    radial-gradient(600px 300px at 85% 10%, rgba(102, 187, 106, 0.25), transparent 70%),
    radial-gradient(500px 260px at 10% 90%, rgba(38, 166, 154, 0.18), transparent 70%);
}
.hero .container { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: 44px; line-height: 1.25; margin: 0 0 18px; }
.hero h1 span { color: var(--green); }
.hero p { font-size: 18px; color: var(--muted); margin: 0 0 28px; }
.btn {
  display: inline-block; padding: 12px 26px; border-radius: 999px;
  background: linear-gradient(135deg, var(--green-light), var(--green));
  color: #fff; font-weight: 600; box-shadow: 0 8px 20px rgba(46, 125, 50, 0.25);
}
.btn:hover { text-decoration: none; filter: brightness(1.05); }

/* 首屏右侧手机示意 */
.phone {
  justify-self: center; width: 260px; height: 480px; border-radius: 36px;
  background: #fff; box-shadow: 0 24px 60px rgba(31, 42, 34, 0.15);
  padding: 22px 18px; display: flex; flex-direction: column; align-items: center; gap: 22px;
  border: 8px solid #1f2a22;
}
.phone .banner {
  width: 100%; height: 110px; border-radius: 16px;
  background: linear-gradient(135deg, #4caf50, #00796b);
  color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600;
}
.phone .days { text-align: center; color: var(--muted); font-size: 14px; }
.phone .days strong { display: block; font-size: 48px; color: var(--green); line-height: 1.1; }
.phone .checkin {
  width: 130px; height: 130px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green-light), var(--green));
  color: #fff; font-size: 22px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 12px rgba(102, 187, 106, 0.18);
}
.phone .share {
  margin-top: auto; width: 100%; padding: 10px; border-radius: 14px;
  background: #e8f5e9; color: var(--green); text-align: center; font-weight: 600;
}

/* 特性 */
.section { padding: 72px 0; }
.section h2 { text-align: center; font-size: 30px; margin: 0 0 12px; }
.section .sub { text-align: center; color: var(--muted); margin: 0 0 40px; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: var(--card); border-radius: var(--radius); padding: 26px 22px;
  box-shadow: 0 6px 24px rgba(31, 42, 34, 0.06);
}
.card .icon {
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 14px;
  background: #e8f5e9; color: var(--green); font-size: 22px;
  display: flex; align-items: center; justify-content: center;
}
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* 关于 */
.about { background: #fff; }
.about p { max-width: 760px; margin: 0 auto; color: var(--muted); text-align: center; }

/* 页脚 */
.footer { padding: 32px 0; color: var(--muted); font-size: 14px; text-align: center; }
.footer a { color: var(--muted); margin: 0 10px; }
.footer .beian { margin-top: 8px; }

/* 协议页 */
.doc { max-width: 820px; margin: 40px auto 64px; background: #fff; border-radius: var(--radius); padding: 40px 44px; box-shadow: 0 6px 24px rgba(31, 42, 34, 0.06); }
.doc h1 { font-size: 28px; margin: 0 0 6px; }
.doc .meta { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.doc h2 { font-size: 19px; margin: 28px 0 10px; color: var(--green); }
.doc p, .doc li { font-size: 15px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 8px 0 16px; }
.doc th, .doc td { border: 1px solid #e3ece4; padding: 8px 10px; text-align: left; vertical-align: top; }
.doc th { background: #f3f8f3; }

@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 48px; text-align: center; }
  .hero h1 { font-size: 32px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .nav-links a { margin-left: 14px; font-size: 14px; }
  .doc { margin: 16px; padding: 24px 20px; }
}
@media (max-width: 520px) {
  .features { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
