/* 腕温周期官网 · Apple 风格设计系统
 * 字号阶梯遵循 Apple 规范：12/14/17/20/24/28/32/40/48/56
 * 颜色体系与 App 端一致（粉玫主色 + 青色曲线 + 浅米底）
 */

:root {
  --brand: #d6466e;
  --brand-soft: #ec7a9b;
  --brand-tint: #fceef3;
  --teal: #0f8b8d;
  --teal-soft: #cdeeee;
  --ink: #1c1917;
  --ink-secondary: #57534e;
  --ink-muted: #8a8580;
  --canvas: #fbf9f7;
  --card: #ffffff;
  --hairline: #ebe7e3;
  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow-card: 0 1px 2px rgba(28, 25, 23, 0.04), 0 8px 24px rgba(28, 25, 23, 0.06);
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro SC", "SF Pro Text", "PingFang SC", "Helvetica Neue", "Noto Sans SC", sans-serif;
  background: var(--canvas);
  color: var(--ink);
  line-height: 1.6;
  font-feature-settings: "kern" 1;
}

/* ── 导航 ─────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 249, 247, 0.72);
  backdrop-filter: saturate(1.8) blur(20px);
  -webkit-backdrop-filter: saturate(1.8) blur(20px);
  border-bottom: 1px solid rgba(28, 25, 23, 0.05);
}
.nav-inner {
  max-width: 1080px; margin: 0 auto; padding: 0 22px;
  height: 52px; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); }
.nav-logo .dot {
  width: 26px; height: 26px; border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(28, 25, 23, 0.12), 0 0 0 0.5px rgba(28,25,23,0.06);
}
.nav-logo .dot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nav-logo span { font-size: 17px; font-weight: 700; letter-spacing: -0.025em; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  text-decoration: none; color: var(--ink-secondary);
  font-size: 14px; font-weight: 500; transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  padding: 7px 18px; border-radius: 980px;
  background: linear-gradient(135deg, var(--brand), var(--brand-soft));
  color: #fff; font-size: 13px; font-weight: 600;
  box-shadow: 0 2px 10px rgba(214, 70, 110, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover { transform: scale(1.04); box-shadow: 0 4px 16px rgba(214, 70, 110, 0.4); }

@media (max-width: 640px) {
  .nav-links a.nav-hide { display: none; }
}

/* ── 布局 ─────────────────────────────── */
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }
.section { padding: 104px 0; }
.section-alt { background: #fff; }

/* ── 排版 ─────────────────────────────── */
.eyebrow {
  display: inline-block; font-size: 15px; font-weight: 600;
  color: var(--brand); letter-spacing: -0.01em; margin-bottom: 14px;
}
h1.display {
  font-size: clamp(40px, 7vw, 60px); font-weight: 800;
  letter-spacing: -0.035em; line-height: 1.07;
}
h2.title { font-size: clamp(32px, 5vw, 44px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; }
h3.subtitle { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.lead { font-size: clamp(17px, 2.2vw, 21px); color: var(--ink-secondary); max-width: 640px; font-weight: 400; line-height: 1.52; }
p.body { font-size: 17px; color: var(--ink-secondary); line-height: 1.6; }

/* ── Hero ─────────────────────────────── */
.hero { padding: 80px 0 100px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(45% 55% at 80% 12%, rgba(255, 214, 228, 0.6), transparent 70%),
    radial-gradient(40% 50% at 10% 6%, rgba(205, 238, 238, 0.55), transparent 70%),
    radial-gradient(55% 65% at 50% 100%, rgba(244, 233, 219, 0.55), transparent 75%);
}
.hero-inner { text-align: center; }
.hero h1 { margin: 16px 0 20px; }
.hero .lead { margin: 0 auto 30px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 52px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 980px;
  background: rgba(255, 255, 255, 0.88); border: 1px solid rgba(28,25,23,0.06);
  font-size: 13px; font-weight: 500; color: var(--ink-secondary);
  box-shadow: 0 1px 2px rgba(28, 25, 23, 0.04);
}
.badge .ico { width: 14px; height: 14px; }

/* 下载按钮：品牌粉渐变 App Store 徽章 */
.appstore-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 24px; border-radius: 980px; text-decoration: none;
  background: linear-gradient(135deg, var(--brand), var(--brand-soft));
  color: #fff;
  box-shadow: 0 6px 20px rgba(214, 70, 110, 0.35), 0 1px 2px rgba(214, 70, 110, 0.2);
  transition: transform 0.25s, box-shadow 0.25s;
}
.appstore-btn:hover { transform: scale(1.04); box-shadow: 0 10px 28px rgba(214, 70, 110, 0.45), 0 2px 4px rgba(214, 70, 110, 0.25); }
.appstore-btn svg { width: 20px; height: 20px; flex: none; }
.appstore-btn .as-text { display: flex; flex-direction: column; line-height: 1.15; }
.appstore-btn .as-top { font-size: 11px; font-weight: 500; opacity: 0.9; letter-spacing: 0.02em; }
.appstore-btn .as-bot { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }

/* Hero 主视觉：iPhone 16 风格 + Apple Watch 双设备 */
.hero-visual {
  display: flex; justify-content: center; align-items: flex-end; gap: 28px; margin-top: 8px;
}
@media (max-width: 640px) {
  .hero-visual { gap: 12px; }
  .hero-visual .watch-wrap { display: none; }
}

/* iPhone */
.phone {
  width: min(290px, 70vw); border-radius: 44px; padding: 10px;
  background: linear-gradient(160deg, #2a2525, #1a1616 55%, #242020);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06) inset,
    0 40px 80px rgba(28, 25, 23, 0.18),
    0 12px 28px rgba(28, 25, 23, 0.12);
  position: relative;
}
/* 灵动岛 */
.phone::before {
  content: ""; position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 24px; border-radius: 980px;
  background: #0a0808;
  z-index: 2;
}
.phone-screen {
  background: linear-gradient(180deg, #fffdfc 0%, #fdf3f5 100%);
  border-radius: 36px; overflow: hidden; padding: 42px 16px 20px;
  text-align: left;
  position: relative;
}
.phone-status { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-muted); font-weight: 600; margin-bottom: 10px; padding: 0 2px; }
.phone-title { font-size: 22px; font-weight: 800; letter-spacing: -0.025em; padding: 0 2px; }
.phone-sub { font-size: 11px; color: var(--ink-muted); margin: 2px 0 12px; padding: 0 2px; }
.phone-card {
  background: rgba(255, 255, 255, 0.92); border: 1px solid rgba(235, 231, 227, 0.8);
  border-radius: 16px; padding: 12px; margin-bottom: 10px;
  box-shadow: 0 1px 3px rgba(28, 25, 23, 0.04);
}
.phone-row { display: flex; justify-content: space-between; align-items: baseline; }
.phone-row .k { font-size: 11px; color: var(--ink-muted); font-weight: 500; }
.phone-row .v { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; color: var(--brand); font-variant-numeric: tabular-nums; line-height: 1; }
.phone-row .v small { font-size: 12px; font-weight: 600; color: var(--ink-muted); }
.phone-phase {
  display: inline-block; margin-top: 5px; padding: 3px 9px; border-radius: 980px;
  background: var(--brand-tint); color: var(--brand);
  font-size: 11px; font-weight: 700;
}
.phone-tabs { display: flex; gap: 5px; margin-top: 2px; }
.phone-tab { flex: 1; text-align: center; padding: 7px 0; border-radius: 11px; font-size: 11px; font-weight: 600; color: var(--ink-muted); background: rgba(248, 246, 244, 0.9); }
.phone-tab.active { background: #fff; color: var(--brand); box-shadow: 0 1px 3px rgba(28, 25, 23, 0.08); }

/* Apple Watch mock */
.watch-wrap { display: flex; flex-direction: column; align-items: center; margin-bottom: 20px; }
/* 表带：粉色运动表带，与表壳之间有梯形过渡 */
.watch-band {
  width: 76px; height: 44px;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 6px),
    linear-gradient(180deg, #e0678a 0%, #cf4570 100%);
  border-radius: 18px 18px 5px 5px;
  box-shadow: inset 0 2px 5px rgba(255,255,255,0.22), 0 1px 3px rgba(28,25,23,0.12);
  position: relative;
}
.watch-band.bottom {
  border-radius: 5px 5px 18px 18px;
  background:
    repeating-linear-gradient(0deg, rgba(0,0,0,0.05) 0 1px, transparent 1px 6px),
    linear-gradient(180deg, #cf4570 0%, #a83256 100%);
  box-shadow: inset 0 2px 5px rgba(255,255,255,0.12), 0 1px 3px rgba(28,25,23,0.12);
}
/* 表壳：钛金属质感 + 内嵌屏幕 */
.watch-case {
  position: relative; width: 140px; height: 160px;
  background: linear-gradient(155deg, #4a4242 0%, #241f1f 45%, #383030 100%);
  border-radius: 40px; padding: 9px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.1) inset,
    0 0 0 3px rgba(28,25,23,0.06),
    0 24px 44px rgba(28,25,23,0.22),
    0 8px 16px rgba(28,25,23,0.12);
  z-index: 2;
}
/* 数字表冠（带纹理槽） */
.watch-crown {
  position: absolute; right: -5px; top: 36px;
  width: 8px; height: 26px; border-radius: 3px;
  background: linear-gradient(90deg, #57504f 0%, #3a3434 60%, #2a2525 100%);
  box-shadow: inset 0 0 1px rgba(255,255,255,0.25), 0 1px 2px rgba(28,25,23,0.3);
}
.watch-crown::before {
  content: ""; position: absolute; inset: 3px 1.5px;
  background: repeating-linear-gradient(0deg, transparent 0 1px, rgba(255,255,255,0.18) 1px 2px);
  border-radius: 2px;
}
/* 侧键 */
.watch-side-btn {
  position: absolute; right: -3.5px; top: 74px;
  width: 5px; height: 32px; border-radius: 2.5px;
  background: linear-gradient(90deg, #4a4444, #2a2525);
  box-shadow: 0 1px 2px rgba(28,25,23,0.3);
}
/* 屏幕：黑底 OLED */
.watch-screen {
  background: radial-gradient(120% 100% at 50% 0%, #231318 0%, #0d0709 70%);
  border-radius: 32px; height: 100%; padding: 14px 12px 12px;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center;
}
/* 表盘 App 图标 */
.watch-app-icon {
  width: 26px; height: 26px; border-radius: 7px; overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.5), 0 0 0 0.5px rgba(255,255,255,0.12);
  margin-bottom: 6px;
}
.watch-app-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.watch-digits {
  font-size: 26px; font-weight: 800; color: #fff;
  letter-spacing: -0.03em; font-variant-numeric: tabular-nums;
  line-height: 1; text-align: center;
}
.watch-digits small { font-size: 13px; color: rgba(255,255,255,0.55); font-weight: 700; }
.watch-label { font-size: 9px; color: #ec7a9b; text-align: center; font-weight: 700; margin-top: 4px; letter-spacing: 0.14em; }
.watch-phase {
  margin-top: auto; padding: 5px 12px; border-radius: 980px;
  background: rgba(214, 70, 110, 0.22); color: #f2a4bd;
  text-align: center; font-size: 9px; font-weight: 700; letter-spacing: 0.02em;
  border: 0.5px solid rgba(236, 122, 155, 0.3);
}
.watch-curve { width: 100%; flex: 1; min-height: 0; margin-top: 6px; }

/* ── 功能卡 ───────────────────────────── */
.features-header { text-align: center; margin-bottom: 8px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
@media (max-width: 820px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .features-grid { grid-template-columns: 1fr; } }
.feature-card {
  background: var(--card); border-radius: 24px; padding: 32px 28px;
  border: 1px solid rgba(235, 231, 227, 0.8); box-shadow: var(--shadow-card);
  transition: transform 0.3s cubic-bezier(0.2,0.8,0.2,1), box-shadow 0.3s;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 2px 4px rgba(28,25,23,0.04), 0 20px 44px rgba(28, 25, 23, 0.1); }
.feature-ico {
  width: 44px; height: 44px; border-radius: 13px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
}
.feature-ico svg { width: 22px; height: 22px; }
.feature-card h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.015em; margin-bottom: 8px; line-height: 1.3; }
.feature-card p { font-size: 14px; color: var(--ink-secondary); line-height: 1.65; }

/* ── 双栏区块（曲线科学 / 隐私 / Watch） */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-top: 56px; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.split.reverse > :first-child { order: 2; }
@media (max-width: 820px) { .split.reverse > :first-child { order: 0; } }

.visual-panel {
  border-radius: 32px; padding: 36px;
  background: linear-gradient(165deg, #ffffff, #fdf4f6);
  border: 1px solid rgba(235, 231, 227, 0.9); box-shadow: var(--shadow-card);
}
.visual-panel.teal-bg {
  background: linear-gradient(165deg, #ffffff, #e8f5f5);
}
.checklist { list-style: none; margin-top: 26px; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; color: var(--ink-secondary); line-height: 1.5; }
.checklist .tick {
  flex: none; width: 22px; height: 22px; border-radius: 50%; margin-top: 2px;
  background: var(--brand-tint); color: var(--brand);
  display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800;
}
.checklist .tick.teal { background: var(--teal-soft); color: var(--teal); }

/* 段间带色小卡片（Watch 特性区用） */
.watch-features {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px;
}
.watch-feat {
  background: #fff; border-radius: 14px; padding: 14px;
  border: 1px solid rgba(235, 231, 227, 0.7);
}
.watch-feat .wf-label { font-size: 11px; color: var(--ink-muted); font-weight: 600; margin-bottom: 4px; }
.watch-feat .wf-value { font-size: 17px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }

/* ── 隐私徽章组 ───────────────── */
.privacy-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.privacy-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 980px;
  background: #fff; border: 1px solid rgba(235,231,227,0.8);
  font-size: 13px; font-weight: 600; color: var(--ink-secondary);
  box-shadow: 0 1px 2px rgba(28,25,23,0.04);
}
.privacy-pill svg { width: 14px; height: 14px; color: var(--teal); }

/* ── CTA ─────────────────────────────── */
.cta {
  text-align: center; padding: 110px 0 120px;
  background:
    radial-gradient(50% 60% at 50% 0%, rgba(255, 214, 228, 0.5), transparent 72%),
    radial-gradient(45% 55% at 50% 100%, rgba(205, 238, 238, 0.42), transparent 72%);
}
.cta h2 { margin-bottom: 16px; }
.cta p { margin: 0 auto 36px; }

/* ── 页脚 ─────────────────────────────── */
footer { border-top: 1px solid var(--hairline); background: #f5f3f0; padding: 48px 0 40px; }
.foot-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot-col h4 { font-size: 12px; font-weight: 700; color: var(--ink-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.foot-col a { display: block; text-decoration: none; color: var(--ink-secondary); font-size: 13px; margin-bottom: 9px; transition: color 0.15s; }
.foot-col a:hover { color: var(--brand); }
.foot-legal { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--hairline); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.foot-legal span, .foot-legal a { font-size: 12px; color: var(--ink-muted); text-decoration: none; }
.foot-legal a:hover { color: var(--ink-secondary); }

/* ── 法务文档页 ───────────────────────── */
.doc-hero { padding: 80px 0 44px; text-align: center; }
.doc-hero .eyebrow { margin-bottom: 6px; }
.doc-hero h1 { font-size: clamp(32px, 5vw, 44px); font-weight: 800; letter-spacing: -0.03em; }
.doc-meta { margin-top: 12px; font-size: 14px; color: var(--ink-muted); }
.doc-body { max-width: 720px; margin: 0 auto; padding: 40px 22px 96px; }
.doc-section { margin-bottom: 32px; }
.doc-section h2 { font-size: 20px; font-weight: 700; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; letter-spacing: -0.01em; }
.doc-section h2::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.doc-section p { font-size: 16px; color: var(--ink-secondary); line-height: 1.8; }

/* ── 支持页 ───────────────────────────── */
.faq-list { max-width: 720px; margin: 48px auto 0; }
details.faq {
  background: #fff; border: 1px solid rgba(235, 231, 227, 0.9);
  border-radius: 16px; padding: 22px 26px; margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(28, 25, 23, 0.04);
  transition: box-shadow 0.2s;
}
details.faq[open] { box-shadow: 0 2px 8px rgba(28,25,23,0.06); }
details.faq summary {
  font-size: 17px; font-weight: 600; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  color: var(--ink); letter-spacing: -0.01em;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; font-size: 22px; color: var(--brand); font-weight: 400; transition: transform 0.25s; line-height: 1; }
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq .faq-a { margin-top: 12px; font-size: 15px; color: var(--ink-secondary); line-height: 1.75; }
details.faq .faq-a a { color: var(--brand); font-weight: 600; text-decoration: none; }
details.faq .faq-a a:hover { text-decoration: underline; }

.contact-card {
  max-width: 720px; margin: 60px auto 0; text-align: center;
  background: linear-gradient(165deg, #fff, #fdf4f6);
  border: 1px solid rgba(235, 231, 227, 0.9); border-radius: 28px;
  padding: 52px 36px; box-shadow: var(--shadow-card);
}
.contact-card .mail {
  font-size: clamp(24px, 4vw, 32px); font-weight: 800; color: var(--brand);
  text-decoration: none; letter-spacing: -0.02em;
  word-break: break-all;
}
.contact-card .mail:hover { text-decoration: underline; }
.contact-card p { margin-top: 12px; font-size: 15px; color: var(--ink-secondary); line-height: 1.6; }

/* ── 选择动画 ────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-inner > * { animation: fadeUp 0.7s cubic-bezier(0.2,0.8,0.2,1) both; }
.hero-inner .eyebrow { animation-delay: 0.05s; }
.hero-inner h1 { animation-delay: 0.12s; }
.hero-inner .lead { animation-delay: 0.2s; }
.hero-badges { animation: fadeUp 0.7s cubic-bezier(0.2,0.8,0.2,1) 0.28s both; }
.appstore-btn-wrap { animation: fadeUp 0.7s cubic-bezier(0.2,0.8,0.2,1) 0.34s both; }
.hero-visual { animation: fadeUp 0.9s cubic-bezier(0.2,0.8,0.2,1) 0.42s both; }
