/* 伴伴运动健康官网样式。颜色只在 :root 定义一次。 */
:root {
  --brand: #29d49e;
  --brand-dark: #16b685;
  --brand-deep: #0d8a63;
  --brand-wash: #e9fbf4;
  --brand-wash-2: #d3f6e9;
  --coral: #ff7f94;
  --ink: #0f1f1a;
  --ink-2: #3c4f48;
  --muted: #6f807a;
  --line: #e3ebe7;
  --bg: #ffffff;
  --bg-alt: #f6faf8;
  --dark: #0f1f1a;
  --dark-2: #16302a;
  --lv1: #29d49e;
  --lv2: #4ac0f0;
  --lv3: #f7b538;
  --lv4: #ff7f94;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(15, 31, 26, 0.08);
  --shadow-lg: 0 30px 60px rgba(15, 31, 26, 0.16);
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "PingFang TC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  --container: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 760px; }
.ico { width: 1em; height: 1em; fill: currentColor; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: 0.01em; }
.brand img { border-radius: 9px; }
.site-nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.site-nav > a:hover { color: var(--brand-deep); }
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px; }
.lang-switch a { padding: 4px 11px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted); }
.lang-switch a.on { background: var(--ink); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); font-size: 24px; }
.nav-ico-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-ico-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-ico-close { display: block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; font-weight: 600; white-space: nowrap;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(41, 212, 158, 0.35); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: var(--bg-alt); color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--brand-wash); border-color: var(--brand-wash-2); }
.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-ico { font-size: 20px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, var(--brand-wash-2), transparent 60%),
    radial-gradient(600px 400px at -10% 90%, var(--brand-wash), transparent 60%),
    var(--bg);
}
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 48px; padding: 72px 20px 88px; }
.eyebrow {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: var(--brand-wash); color: var(--brand-deep); font-weight: 700; font-size: 13px; letter-spacing: 0.04em;
}
.hero h1 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.18; font-weight: 800; letter-spacing: -0.01em; margin-top: 18px; }
.lead { margin-top: 20px; font-size: 18px; color: var(--ink-2); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-note { margin-top: 16px; font-size: 13px; color: var(--muted); }

.hero-visual { position: relative; display: flex; justify-content: center; min-height: 560px; }
.hero-visual .phone { margin-right: 96px; }
.phone {
  position: relative; width: 300px; height: 610px; border-radius: 46px;
  background: #0b1612; padding: 12px; box-shadow: var(--shadow-lg);
}
.phone-notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 96px; height: 26px; border-radius: 999px; background: #0b1612; z-index: 2; }
.screen {
  height: 100%; border-radius: 36px; background: var(--bg-alt); overflow: hidden;
  padding: 58px 16px 16px; display: flex; flex-direction: column; gap: 12px;
}
.scr-head { display: flex; justify-content: space-between; align-items: center; }
.scr-greet { font-weight: 800; font-size: 20px; }
.scr-date { font-size: 12px; color: var(--muted); }
.scr-logo { border-radius: 8px; }
.scr-report { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; border-radius: 16px; padding: 14px; }
.scr-report-top { display: flex; align-items: center; justify-content: space-between; }
.scr-report-top strong { font-size: 18px; }
.scr-chip { font-size: 11px; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.22); }
.scr-report p { margin-top: 8px; font-size: 12px; line-height: 1.5; opacity: 0.95; }
.scr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile { background: #fff; border-radius: 14px; padding: 12px; box-shadow: 0 2px 8px rgba(15, 31, 26, 0.05); }
.tile-label { font-size: 11px; color: var(--muted); }
.tile-val { font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.2; margin-top: 2px; }
.tile-val small { font-size: 11px; font-weight: 500; color: var(--muted); margin-left: 4px; }
.tile-val-text { font-size: 18px; color: var(--brand-deep); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spark { width: 100%; height: 28px; margin-top: 6px; }
.spark polyline { fill: none; stroke: var(--brand); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.bar { height: 6px; border-radius: 999px; background: var(--brand-wash-2); margin-top: 14px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--brand); border-radius: inherit; }
.bar-soft span { background: var(--lv2); }
.scr-ring { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 14px; padding: 10px 12px; }
.ring { width: 64px; height: 64px; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: var(--brand-wash-2); stroke-width: 7; }
.ring-fg { fill: none; stroke: var(--brand); stroke-width: 7; stroke-linecap: round; }
.ring-fg-2 { stroke: var(--coral); }
.scr-ring-text { font-size: 13px; font-weight: 700; }

.watch {
  position: absolute; right: 8px; bottom: 36px; width: 140px; height: 176px; border-radius: 40px;
  background: #0b1612; padding: 14px 12px; box-shadow: var(--shadow-lg);
}
.watch::before, .watch::after {
  content: ""; position: absolute; left: 40px; right: 40px; height: 34px; background: #1d2b26; z-index: -1; border-radius: 10px;
}
.watch::before { top: -26px; }
.watch::after { bottom: -26px; }
.watch-face {
  height: 100%; border-radius: 30px; background: #000; color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
}
.watch-face-ico { font-size: 28px; color: var(--coral); }
.watch-face strong { font-size: 40px; line-height: 1; font-variant-numeric: tabular-nums; }
.watch-face small { font-size: 12px; color: var(--brand); font-weight: 700; letter-spacing: 0.08em; }

/* ---------- Stats ---------- */
.stats-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 26px 16px; text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat-num { font-size: 30px; font-weight: 800; color: var(--brand-deep); font-variant-numeric: tabular-nums; line-height: 1.1; }
.stat-label { margin-top: 6px; font-size: 14px; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-wash { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head-left { text-align: left; margin: 0 0 32px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; }
.section-head p { margin-top: 14px; color: var(--ink-2); font-size: 17px; }

.grid { display: grid; gap: 20px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-wash-2); }
.feature-ico { font-size: 26px; color: var(--brand-deep); background: var(--brand-wash); border-radius: 12px; width: 48px; height: 48px; padding: 11px; }
.feature h3 { margin-top: 18px; font-size: 17px; font-weight: 700; }
.feature p { margin-top: 8px; font-size: 14px; color: var(--ink-2); }

/* Apple Watch */
.watch-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.watch-list { display: grid; gap: 22px; }
.watch-list li { display: flex; gap: 16px; }
.watch-ico { font-size: 22px; color: var(--brand-deep); background: #fff; border: 1px solid var(--line); border-radius: 12px; width: 44px; height: 44px; padding: 10px; }
.watch-list h3 { font-size: 17px; font-weight: 700; }
.watch-list p { margin-top: 4px; font-size: 14px; color: var(--ink-2); }
.watch-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 380px; overflow: hidden; }
.watch-big { position: static; width: 190px; height: 238px; border-radius: 54px; padding: 18px 16px; }
.watch-big .watch-face { border-radius: 40px; }
.watch-big .watch-face strong { font-size: 54px; }
.watch-big .watch-face-ico { font-size: 36px; }
.watch-big::before, .watch-big::after { left: 56px; right: 56px; height: 44px; }
.watch-big::before { top: -34px; }
.watch-big::after { bottom: -34px; }
.pulse { position: absolute; left: 50%; top: 50%; margin: -150px 0 0 -150px; width: 300px; height: 300px; border-radius: 50%; border: 2px solid var(--brand); opacity: 0; animation: pulse 3s ease-out infinite; }
.pulse-2 { animation-delay: 1.5s; }
@keyframes pulse { 0% { transform: scale(0.6); opacity: 0.6; } 100% { transform: scale(1.4); opacity: 0; } }

/* Reports */
.levels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.level { position: relative; border-radius: var(--radius); padding: 26px 22px; background: var(--bg-alt); border: 1px solid var(--line); }
.level-dot { position: absolute; top: 24px; right: 22px; width: 12px; height: 12px; border-radius: 50%; background: var(--lv); box-shadow: 0 0 0 5px color-mix(in srgb, var(--lv) 20%, transparent); }
.level h3 { font-size: 20px; font-weight: 800; color: var(--lv); }
.level p { margin-top: 10px; font-size: 14px; color: var(--ink-2); }
.lv1 { --lv: var(--lv1); }
.lv2 { --lv: var(--lv2); }
.lv3 { --lv: var(--lv3); }
.lv4 { --lv: var(--lv4); }

/* Membership */
.section-dark { background: linear-gradient(160deg, var(--dark), var(--dark-2)); color: #fff; }
.section-dark .section-head p { color: rgba(255, 255, 255, 0.72); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 880px; margin: 0 auto; }
.plan { position: relative; border-radius: var(--radius); padding: 28px 24px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); }
.plan-hot { background: rgba(41, 212, 158, 0.14); border-color: var(--brand); }
.plan-tag { position: absolute; top: -12px; right: 20px; background: var(--brand); color: var(--dark); font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 999px; }
.plan h3 { font-size: 22px; font-weight: 800; }
.plan p { margin-top: 8px; font-size: 14px; color: rgba(255, 255, 255, 0.72); }
.benefits { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin: 36px auto 0; max-width: 880px; }
.benefits li { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.check-ico { font-size: 18px; color: var(--brand); }
.membership-note { text-align: center; margin-top: 28px; font-size: 13px; color: rgba(255, 255, 255, 0.55); }

/* FAQ */
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); padding: 0 20px; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 700; font-size: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; width: 20px; height: 20px; flex: none; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--brand-deep); transform: translate(-50%, -50%); transition: transform 0.2s; }
.faq-plus::before { width: 14px; height: 2px; }
.faq-plus::after { width: 2px; height: 14px; }
.faq-item[open] .faq-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item p { padding: 0 0 20px; color: var(--ink-2); font-size: 15px; }

/* Download */
.download { background: radial-gradient(700px 360px at 50% 0%, var(--brand-wash-2), transparent 70%), var(--bg); }
.download-inner { text-align: center; max-width: 620px; }
.download-logo { margin: 0 auto 22px; border-radius: 18px; box-shadow: var(--shadow); }
.download h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; line-height: 1.2; }
.download p { margin: 14px 0 28px; color: var(--ink-2); font-size: 17px; }

/* Footer */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 56px 0 28px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-disclaimer { margin-top: 16px; color: var(--muted); max-width: 360px; line-height: 1.6; }
.site-footer h4 { font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.site-footer li { margin-bottom: 10px; color: var(--ink-2); }
.site-footer li a:hover { color: var(--brand-deep); }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4, .levels { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; text-align: center; padding-top: 56px; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { min-height: 0; margin-top: 16px; width: 100%; max-width: 440px; margin-left: auto; margin-right: auto; }
  .watch-inner { grid-template-columns: 1fr; }
  .watch-visual { min-height: 320px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 64px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 20px;
    box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .site-nav > a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 16px; border-bottom: 0; }
  .lang-switch { margin-top: 16px; align-self: flex-start; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .phone { width: 270px; height: 550px; }
  .hero-visual .phone { margin-right: 70px; }
  .watch { right: 0; width: 120px; height: 150px; }
  .watch-face strong { font-size: 32px; }
  .plans { grid-template-columns: 1fr; }
  .benefits { justify-content: flex-start; }
}
@media (max-width: 480px) {
  .grid-4, .levels { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pulse { animation: none; }
}
