/* ============================================================
   起身吧 · 官网样式
   与 App 主题一致：ink #12212B / lime #C6F24E / paper #F3F6F4
   ============================================================ */

:root {
  --ink: #12212B;
  --ink-2: #3A4A55;
  --muted: #6B7A84;
  --paper: #F3F6F4;
  --white: #FFFFFF;
  --lime: #C6F24E;
  --lime-deep: #8FBE1F;
  --coral: #FF6B4A;
  --aqua: #22D3C5;
  --sun: #FFC53D;
  --line: #E1E8E3;
  --line-soft: #EDF2EE;
  --radius: 18px;
  --shadow: 0 40px 80px -30px rgba(18, 33, 43, 0.35), 0 12px 24px -12px rgba(18, 33, 43, 0.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro SC", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 780px; margin: 0 auto; padding: 0 24px; }

/* ---------- 导航 ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 246, 244, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line-soft);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand img { width: 30px; height: 30px; border-radius: 8px; }

.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; color: var(--muted); }
.nav-links a { text-decoration: none; transition: color 0.18s ease; }
.nav-links a:hover { color: var(--ink); }

.nav .btn { margin-left: 4px; }

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 600;
  padding: 11px 20px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}

.btn svg { width: 17px; height: 17px; }

.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #1d3240; transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(18, 33, 43, 0.55); }

.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: #cfdad3; transform: translateY(-1px); }

.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: #d3f970; transform: translateY(-1px); }

.btn-sm { padding: 8px 15px; font-size: 13px; border-radius: 10px; }

/* ---------- 首屏 ---------- */

.hero { position: relative; overflow: hidden; padding: 92px 0 84px; }

.hero::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto -10%;
  height: 640px;
  background:
    radial-gradient(620px 300px at 74% 16%, rgba(198, 242, 78, 0.42), transparent 68%),
    radial-gradient(520px 260px at 16% -4%, rgba(34, 211, 197, 0.16), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 56px;
  align-items: center;
}

.hero-grid > * { min-width: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-2);
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 12.5px;
  font-weight: 500;
}

.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--lime-deep); }

h1 {
  font-size: clamp(34px, 4.3vw, 55px);
  line-height: 1.12;
  letter-spacing: -0.028em;
  margin: 22px 0 18px;
  font-weight: 750;
}

h1 em {
  font-style: normal;
  background: linear-gradient(transparent 64%, var(--lime) 64%);
  padding: 0 2px;
}

.lead { font-size: 17px; color: var(--ink-2); max-width: 530px; }

.hero-actions { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }

.meta { margin-top: 16px; font-size: 12.5px; color: var(--muted); }

/* ---------- 产品窗口模拟 ---------- */

.window {
  position: relative;
  max-width: 100%;
  background: #fff;
  border-radius: 18px;
  border: 1px solid #e4ebe6;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.window-wrap { position: relative; width: 100%; }

.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 15px;
  background: #fbfcfb;
  border-bottom: 1px solid var(--line-soft);
}

.traffic { display: flex; gap: 6px; }
.traffic i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.traffic .red { background: #ff6159; }
.traffic .yellow { background: #ffbd2e; }
.traffic .green { background: #28c840; }

.window-title { margin-left: 8px; font-size: 12px; color: var(--muted); }

.window-body { display: grid; grid-template-columns: 58px 1fr; gap: 0; }

.rail {
  background: #f8faf8;
  border-right: 1px solid var(--line-soft);
  padding: 18px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.rail span {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: #9aa8a2;
  font-size: 13px;
}

.rail span.active { background: var(--ink); color: var(--lime); }

.panel { padding: 22px 26px 26px; min-width: 0; }

.panel-head { display: flex; align-items: baseline; justify-content: space-between; }
.panel-head h3 { font-size: 16px; letter-spacing: -0.01em; }
.panel-head time { font-size: 11.5px; color: var(--muted); }

.ring-wrap { position: relative; width: 168px; margin: 22px auto 20px; }
.ring-wrap svg { width: 168px; height: 168px; display: block; }
.ring-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
}
.ring-label strong { font-size: 32px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ring-label small { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }

.stat {
  background: var(--paper);
  border-radius: 12px;
  padding: 12px 12px 10px;
}
.stat b { display: block; font-size: 19px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat span { font-size: 10.5px; color: var(--muted); }

.float-card {
  position: absolute;
  left: -26px;
  bottom: -22px;
  background: var(--ink);
  color: #fff;
  border-radius: 14px;
  padding: 13px 16px;
  font-size: 12.5px;
  box-shadow: 0 22px 40px -18px rgba(18, 33, 43, 0.6);
  display: flex;
  align-items: center;
  gap: 11px;
}

.float-card .pulse {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(198, 242, 78, 0.6);
  animation: pulse 2.2s infinite;
}
.float-card small { display: block; color: rgba(255, 255, 255, 0.6); font-size: 10.5px; }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(198, 242, 78, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(198, 242, 78, 0); }
  100% { box-shadow: 0 0 0 0 rgba(198, 242, 78, 0); }
}

/* ---------- 通用区块 ---------- */

.section { padding: 84px 0; }

.section-head { max-width: 660px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(26px, 3vw, 38px); letter-spacing: -0.022em; line-height: 1.22; font-weight: 750; }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 16px; }

/* ---------- 功能卡片 ---------- */

.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }

.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature:hover { transform: translateY(-3px); box-shadow: 0 24px 44px -26px rgba(18, 33, 43, 0.32); }

.feature .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.feature .icon svg { width: 22px; height: 22px; }
.icon-lime { background: rgba(198, 242, 78, 0.35); color: #5c7d10; }
.icon-aqua { background: rgba(34, 211, 197, 0.16); color: #0f8a80; }
.icon-sun { background: rgba(255, 197, 61, 0.24); color: #9a6b00; }
.icon-coral { background: rgba(255, 107, 74, 0.14); color: #cf4b2d; }

.feature h3 { font-size: 17px; letter-spacing: -0.01em; margin-bottom: 8px; }
.feature p { font-size: 14.5px; color: var(--muted); }

/* ---------- Pro 区块 ---------- */

.pro-wrap { padding: 24px 0 84px; }

.pro {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  border-radius: 28px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}

.pro::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -160px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(198, 242, 78, 0.22), transparent 66%);
  pointer-events: none;
}

.pro > * { position: relative; z-index: 1; }

.badge-pro {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--lime);
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 11px;
  border-radius: 999px;
  text-transform: uppercase;
}

.pro h2 { font-size: clamp(26px, 2.8vw, 36px); letter-spacing: -0.022em; line-height: 1.2; margin: 18px 0 14px; font-weight: 750; }
.pro .pro-lead { color: rgba(255, 255, 255, 0.66); font-size: 15.5px; max-width: 420px; }

.pro ul { list-style: none; display: grid; gap: 13px; }
.pro li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; color: rgba(255, 255, 255, 0.84); }
.pro li svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--lime); }

.pro-price {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.pro-price strong { font-size: 15px; }
.pro-price span { font-size: 12.5px; color: rgba(255, 255, 255, 0.55); }

/* ---------- 下载区 ---------- */

.download { text-align: center; padding: 20px 0 96px; }

.download-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 56px 32px;
  display: grid;
  justify-items: center;
  gap: 14px;
}

.download-card img { width: 84px; height: 84px; border-radius: 20px; box-shadow: 0 18px 36px -18px rgba(18, 33, 43, 0.45); }
.download-card h2 { font-size: 28px; letter-spacing: -0.022em; }
.download-card p { color: var(--muted); font-size: 15px; max-width: 440px; }
.download-card .btn { margin-top: 8px; }
.download-card .req { font-size: 12px; color: #9aa8a2; margin-top: 4px; }

/* ---------- 页脚 ---------- */

.footer { border-top: 1px solid var(--line); padding: 40px 0 52px; font-size: 13px; color: var(--muted); }

.footer-inner { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; }

.footer-brand { display: flex; align-items: center; gap: 9px; color: var(--ink-2); font-weight: 600; }
.footer-brand img { width: 22px; height: 22px; border-radius: 6px; }

.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; transition: color 0.18s ease; }
.footer-links a:hover { color: var(--ink); }

.footer-legal { margin-top: 26px; display: flex; gap: 18px; flex-wrap: wrap; align-items: center; font-size: 12px; color: #93a19a; }
.footer-legal a { text-decoration: none; }
.footer-legal a:hover { color: var(--ink-2); }

/* ---------- 法律文档页 ---------- */

.legal { padding: 56px 0 96px; }

.legal h1 { font-size: clamp(30px, 3.6vw, 40px); letter-spacing: -0.025em; margin: 0 0 12px; }

.legal .updated {
  color: var(--muted);
  font-size: 13px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}

.legal .party { font-size: 14px; color: var(--ink-2); margin-top: 18px; }

.legal h2 { font-size: 20px; letter-spacing: -0.012em; margin: 38px 0 12px; }
.legal h3 { font-size: 16px; margin: 24px 0 8px; }

.legal p, .legal li { font-size: 15px; color: var(--ink-2); }

.legal p + p { margin-top: 10px; }

.legal ul, .legal ol { padding-left: 22px; margin: 10px 0 4px; display: grid; gap: 8px; }

.legal .callout {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--lime-deep);
  border-radius: 10px;
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 14.5px;
  color: var(--ink-2);
}

.legal .callout strong { color: var(--ink); }

.legal a.link { color: #2f6f5e; text-decoration: underline; text-underline-offset: 2px; }

.legal .back { margin-top: 48px; }

/* ---------- FAQ ---------- */

.faq { display: grid; gap: 12px; max-width: 820px; }

details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 22px;
  transition: border-color 0.18s ease;
}

details[open] { border-color: #cfdad3; }

summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 600;
  font-size: 15.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1;
  transition: transform 0.2s ease;
}

details[open] summary::after { content: "−"; transform: none; }

.faq-body { padding: 0 0 20px; font-size: 14.5px; color: var(--ink-2); }
.faq-body p + p { margin-top: 8px; }
.faq-body ul { padding-left: 20px; margin-top: 8px; display: grid; gap: 6px; }

/* ---------- 支持页 ---------- */

.support-head { padding: 56px 0 8px; }
.support-head h1 { font-size: clamp(30px, 3.6vw, 40px); letter-spacing: -0.025em; margin-bottom: 12px; }
.support-head p { color: var(--muted); font-size: 16px; max-width: 560px; }

.contact-card {
  margin-top: 40px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.contact-card h3 { font-size: 17px; margin-bottom: 6px; }
.contact-card p { font-size: 14px; color: var(--muted); }
.contact-card a.mail { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--lime); }

/* ---------- 响应式 ---------- */

@media (max-width: 940px) {
  .hero { padding: 64px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-grid .window-wrap { max-width: 520px; margin: 0 auto; width: 100%; min-width: 0; }
  .float-card { left: -12px; }
  .features { grid-template-columns: 1fr; }
  .pro { grid-template-columns: 1fr; padding: 40px 32px; gap: 32px; }
  .nav-links { gap: 18px; }
  .nav-links a:not(.btn) { display: none; }
}

@media (max-width: 560px) {
  .hero-grid .window-wrap { max-width: 100%; }
  .window-body { grid-template-columns: 46px 1fr; }
  .panel { padding: 18px; }
  .ring-wrap, .ring-wrap svg { width: 132px; height: 132px; }
  .float-card { display: none; }
  .download-card { padding: 40px 22px; }
  .footer-inner { flex-direction: column; }
  .nav .btn { padding: 7px 12px; font-size: 12.5px; }
}
