:root {
  --green: #1FB573;
  --green-dark: #16985f;
  --green-light: #e8f8f0;
  --ink: #1d2433;
  --muted: #5b6472;
  --bg: #ffffff;
  --bg-alt: #f6f9fb;
  --border: #e6ebf0;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(20, 40, 60, 0.08);
  --shadow-lg: 0 20px 50px rgba(20, 40, 60, 0.14);
  --maxw: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ===== 导航 ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s ease;
}
.navbar.scrolled { box-shadow: var(--shadow); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; }
.brand-logo { display: inline-flex; }
.brand-name { font-size: 19px; letter-spacing: 0.2px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--muted); font-size: 15px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--green); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.3s; }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; font-weight: 600; cursor: pointer; border: 1.5px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 8px 20px rgba(31, 181, 115, 0.32); }
.btn-primary:hover { background: var(--green-dark); box-shadow: 0 10px 26px rgba(31, 181, 115, 0.42); }
.btn-ghost { background: #fff; color: var(--green); border-color: var(--green); }
.btn-ghost:hover { background: var(--green-light); }
.btn-lg { padding: 13px 30px; font-size: 16px; }
.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-block { width: 100%; padding: 11px 0; }

/* ===== 首屏 ===== */
.hero {
  position: relative;
  padding: 84px 0 96px;
  background:
    radial-gradient(900px 520px at 85% -10%, rgba(31, 181, 115, 0.12), transparent 60%),
    radial-gradient(700px 480px at 5% 110%, rgba(31, 181, 115, 0.10), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f7fbf9 100%);
  overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.badge {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: var(--green-light); color: var(--green-dark); font-size: 13px; font-weight: 600; margin-bottom: 20px;
}
.hero h1 { font-size: 46px; line-height: 1.18; font-weight: 800; letter-spacing: -0.5px; }
.hero h1 .accent { color: var(--green); }
.hero-sub { margin: 20px 0 30px; font-size: 17px; color: var(--muted); max-width: 520px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 38px; margin-top: 44px; }
.hero-stats strong { display: block; font-size: 30px; font-weight: 800; color: var(--ink); }
.hero-stats span { font-size: 13px; color: var(--muted); }

/* 屏幕视觉 */
.hero-visual { display: flex; justify-content: center; }
.screen {
  width: 100%; max-width: 420px; background: #fff; border-radius: 18px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border); overflow: hidden;
  transform: perspective(1200px) rotateY(-8deg) rotateX(3deg);
}
.screen-bar { display: flex; gap: 7px; padding: 12px 14px; background: #f1f4f7; }
.screen-bar i { width: 11px; height: 11px; border-radius: 50%; background: #d3dae1; }
.screen-bar i:first-child { background: #ff5f57; }
.screen-bar i:nth-child(2) { background: #febc2e; }
.screen-bar i:nth-child(3) { background: #28c840; }
.screen-body { padding: 22px; }
.id-card { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; margin-bottom: 12px; background: #fbfdfc; }
.id-card.muted { opacity: 0.7; }
.id-card .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); }
.id-card .dot.off { background: #cbd3da; }
.id-card small { display: block; font-size: 12px; color: var(--muted); }
.id-card strong { font-size: 17px; letter-spacing: 1px; }
.connect-row { display: flex; gap: 10px; margin: 16px 0; }
.btn-mini { flex: 1; text-align: center; padding: 9px 0; border-radius: 10px; font-size: 14px; font-weight: 600; background: var(--green); color: #fff; }
.btn-mini.ghost { background: #fff; color: var(--green); border: 1.5px solid var(--green); }
.screen-footer { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); padding-top: 6px; border-top: 1px dashed var(--border); }

/* ===== 通用区块 ===== */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-head h2 { font-size: 34px; font-weight: 800; letter-spacing: -0.4px; }
.section-head p { margin-top: 12px; color: var(--muted); font-size: 17px; }

/* ===== 卡片网格 ===== */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow); transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-icon { width: 52px; height: 52px; border-radius: 13px; background: var(--green-light); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }

/* ===== 下载 ===== */
.dl-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 22px; text-align: center; box-shadow: var(--shadow); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.dl-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.dl-icon { font-size: 42px; margin-bottom: 12px; }
.dl-card h3 { font-size: 19px; margin-bottom: 6px; }
.dl-card p { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.dl-note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 30px; }

/* ===== 帮助 ===== */
.help-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-bottom: 36px; }
.help-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow); }
.help-item h4 { font-size: 17px; margin-bottom: 8px; color: var(--green-dark); }
.help-item p { color: var(--muted); font-size: 15px; }
.help-banner { background: var(--green-light); border: 1px solid #cdeedd; border-radius: var(--radius); padding: 26px 30px; }
.help-banner p { color: var(--green-dark); font-size: 15.5px; }

/* ===== 页脚 ===== */
.footer { background: #0f1722; color: #c6cfd9; padding-top: 56px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 36px; }
.footer-brand .brand-name { color: #fff; font-size: 20px; font-weight: 700; }
.footer-brand p { margin-top: 10px; color: #8c97a5; font-size: 14px; max-width: 320px; }
.footer-links { display: flex; gap: 28px; align-items: flex-start; flex-wrap: wrap; }
.footer-links a { color: #c6cfd9; font-size: 15px; transition: color 0.2s; }
.footer-links a:hover { color: var(--green); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 18px 0; }
.footer-bottom span { color: #7c8694; font-size: 13px; }

/* ===== 响应式 ===== */
@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { order: -1; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .nav-links { position: fixed; top: 64px; right: 0; width: 240px; background: #fff; flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px 20px; box-shadow: var(--shadow-lg); border-bottom-left-radius: 16px; transform: translateX(110%); transition: transform 0.3s ease; }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { padding: 10px 0; width: 100%; }
  .nav-toggle { display: flex; }
}
@media (max-width: 560px) {
  .hero h1 { font-size: 34px; }
  .grid-3, .grid-4, .help-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .section { padding: 64px 0; }
  .section-head h2 { font-size: 28px; }
}
