/* 可持续作战 · 健康管理 —— 公开落地页样式。
   纯手写 CSS，无外部 CDN；深色质感，与应用内（styles.css）配色一致。 */

:root {
  --bg: #0c1715;
  --bg-soft: #112320;
  --surface: #16211f;
  --surface-2: #1b2b28;
  --line: #2a3936;
  --text: #f1f6f4;
  --muted: #9fb2ac;
  --teal: #15a07f;
  --teal-bright: #2fc6a1;
  --indigo: #5a7ac0;
  --amber: #e0a23c;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1100px 600px at 80% -10%, rgba(21, 160, 127, 0.18), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(90, 122, 192, 0.14), transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

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

.wrap {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===================== 通用按钮 ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--teal-bright));
  color: #04130f;
}

.btn-primary:hover {
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal-bright);
}

/* ===================== 顶部品牌区 ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(12, 23, 21, 0.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--teal), var(--teal-bright));
  flex-shrink: 0;
}

.brand-mark svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: #04130f;
  stroke-width: 3;
  stroke-linecap: round;
}

.brand-text strong {
  display: block;
  font-size: 18px;
  line-height: 1.2;
}

.brand-text span {
  font-size: 12px;
  color: var(--muted);
}

/* ===================== Hero ===================== */
.hero {
  padding: 86px 0 64px;
  text-align: center;
}

.hero .eyebrow {
  display: inline-block;
  margin: 0 0 22px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--teal-bright);
  background: rgba(21, 160, 127, 0.08);
}

.hero h1 {
  margin: 0 auto 18px;
  max-width: 16em;
  font-size: clamp(30px, 5vw, 50px);
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.hero h1 .accent {
  background: linear-gradient(135deg, var(--teal-bright), var(--indigo));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  margin: 0 auto 32px;
  max-width: 40em;
  color: var(--muted);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-quote {
  margin: 40px auto 0;
  max-width: 36em;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-style: italic;
}

/* ===================== 通用 section ===================== */
.section {
  padding: 60px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 42px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3.4vw, 32px);
}

.section-head p {
  margin: 0 auto;
  max-width: 44em;
  color: var(--muted);
}

/* ===================== 能力卡片 ===================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.feature-card {
  position: relative;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--teal);
}

.feature-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  margin-bottom: 16px;
  background: rgba(21, 160, 127, 0.12);
  border: 1px solid rgba(21, 160, 127, 0.3);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--teal-bright);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card.member .feature-icon {
  background: rgba(224, 162, 60, 0.12);
  border-color: rgba(224, 162, 60, 0.32);
}

.feature-card.member .feature-icon svg {
  stroke: var(--amber);
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.feature-tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--amber);
  background: rgba(224, 162, 60, 0.12);
  border: 1px solid rgba(224, 162, 60, 0.3);
}

/* ===================== 健康目标科普区 ===================== */
.science {
  background:
    linear-gradient(180deg, rgba(21, 160, 127, 0.06), transparent),
    var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.science-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.science-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}

.science-card .stat {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--teal-bright), var(--indigo));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.science-card h4 {
  margin: 12px 0 8px;
  font-size: 16px;
}

.science-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.science-source {
  margin: 28px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

/* ===================== 会员套餐预告 ===================== */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 760px;
  margin: 0 auto;
}

.plan-card {
  position: relative;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: grid;
  gap: 16px;
}

.plan-card.featured {
  border-color: var(--teal);
  box-shadow: 0 0 0 1px rgba(21, 160, 127, 0.4), var(--shadow);
}

.plan-flag {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  color: #04130f;
  background: linear-gradient(135deg, var(--teal), var(--teal-bright));
}

.plan-card h3 {
  margin: 0;
  font-size: 20px;
}

.plan-price {
  font-size: 32px;
  font-weight: 800;
}

.plan-price small {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.plan-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.plan-card li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
  font-size: 14px;
}

.plan-card li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 7px;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--teal-bright);
  border-bottom: 2px solid var(--teal-bright);
  transform: rotate(-45deg);
}

.plan-card .btn {
  width: 100%;
}

.btn-soon {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line);
  color: var(--muted);
}

.btn-soon:hover {
  border-color: var(--amber);
  color: var(--amber);
}

/* ===================== 页脚 ===================== */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0;
  color: var(--muted);
  font-size: 13px;
}

.site-footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer .brand-text strong {
  color: var(--text);
}

/* ===================== 轻量弹窗（即将开启） ===================== */
.landing-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(4, 12, 10, 0.66);
  backdrop-filter: blur(4px);
}

.landing-modal[hidden] {
  display: none;
}

.landing-modal-card {
  width: min(420px, 100%);
  text-align: center;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  display: grid;
  gap: 14px;
  justify-items: center;
}

.landing-modal-card .feature-icon {
  margin: 0;
}

.landing-modal-card h3 {
  margin: 0;
  font-size: 19px;
}

.landing-modal-card p {
  margin: 0;
  color: var(--muted);
}

.landing-modal-card .btn {
  margin-top: 4px;
  min-width: 150px;
}

/* ===================== 自适应 ===================== */
@media (max-width: 640px) {
  .site-header .brand-text span {
    display: none;
  }

  .hero {
    padding: 60px 0 48px;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }
}
