/* ================================================================
 * EMM · Eye Movement Marker — landing page
 * 设计：iOS Health / Medical Light
 * 关键词：浅色底 · SF Pro 排版 · 柔和阴影 · iOS 蓝绿配色 · 玻璃质感
 * ================================================================ */

:root {
  /* iOS / 医疗调色板 */
  --bg: #f5f7fa;
  --bg-soft: #ffffff;
  --surface: #ffffff;
  --surface-tint: #fafbfd;

  --ios-blue: #0a84ff;
  --ios-blue-2: #007aff;
  --ios-teal: #30b0c7;
  --ios-mint: #00c7be;
  --ios-green: #34c759;
  --ios-orange: #ff9500;
  --ios-red: #ff3b30;
  --ios-indigo: #5856d6;

  --text: #1d1d1f;
  --text-2: #424248;
  --text-soft: #6e6e73;
  --text-mute: #8e8e93;

  --line: rgba(0, 0, 0, 0.08);
  --line-soft: rgba(0, 0, 0, 0.04);

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow:    0 4px 12px rgba(15, 23, 42, 0.05), 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 24px 60px -20px rgba(15, 23, 42, 0.18), 0 8px 24px -10px rgba(15, 23, 42, 0.08);

  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --max: 1240px;

  font-feature-settings: "tnum", "ss01";
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "PingFang SC", "Microsoft Yahei", "Hiragino Sans GB",
    "Helvetica Neue", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(1200px 700px at 8% -8%, rgba(10, 132, 255, 0.10), transparent 60%),
    radial-gradient(1000px 600px at 110% 8%, rgba(48, 176, 199, 0.10), transparent 60%),
    radial-gradient(900px 600px at 50% 110%, rgba(52, 199, 89, 0.06), transparent 70%),
    var(--bg);
}

a { color: inherit; text-decoration: none; }
em { font-style: normal; }

/* ---------- 背景：iOS Notes 点阵 + 心电基线 + 极淡视线弧 ---------- */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
/* iOS / Notes 风的 dot grid —— 像处方纸 */
.bg-layer .dot-mesh {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(15, 23, 42, 0.10) 1px, transparent 1.5px);
  background-size: 22px 22px;
  background-position: 0 0;
  mask-image: radial-gradient(ellipse at 50% 35%, #000 25%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 35%, #000 25%, transparent 80%);
}
.bg-layer .bg-curve {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}
/* 顶部心电基线：医疗气质点缀 */
.bg-layer .bg-ecg {
  position: absolute;
  top: 110px;
  left: 0;
  right: 0;
  width: 100%;
  height: 60px;
  opacity: 0.65;
  mask-image: linear-gradient(90deg, transparent 0%, #000 20%, #000 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 20%, #000 80%, transparent 100%);
}

main, header, footer { position: relative; z-index: 1; }

/* ---------- header：iOS 玻璃顶栏 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(20px, 5vw, 56px);
  max-width: var(--max);
  margin: 0 auto;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: rgba(245, 247, 250, 0.72);
  border-radius: 0 0 18px 18px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.brand-mark {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.16em;
  background: linear-gradient(135deg, var(--ios-blue), var(--ios-teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-sub {
  font-size: 11px;
  color: var(--text-mute);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.top-nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--text-2);
}
.top-nav a {
  position: relative;
  padding: 4px 0;
  transition: color .2s;
}
.top-nav a:hover { color: var(--ios-blue); }
.top-nav a:not(.nav-cta):hover::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px;
  height: 2px; border-radius: 2px;
  background: var(--ios-blue);
}
.nav-cta {
  padding: 8px 22px;
  border-radius: 999px;
  color: #fff !important;
  background: var(--ios-blue);
  box-shadow: 0 6px 16px -6px rgba(10, 132, 255, 0.55);
  transition: transform .15s, box-shadow .2s;
}
.nav-cta:hover {
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -6px rgba(10, 132, 255, 0.65);
}

/* ---------- HERO ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: var(--max);
  margin: 24px auto 60px;
  padding: 60px clamp(20px, 5vw, 56px);
}
.hero-text .kicker {
  display: inline-block;
  padding: 6px 14px;
  font-size: 11px;
  letter-spacing: 0.22em;
  border-radius: 999px;
  color: var(--ios-blue);
  background: rgba(10, 132, 255, 0.10);
  margin-bottom: 26px;
  font-weight: 600;
}
.hero-text h1 {
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.1;
  margin: 0 0 22px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
}
.title-line { display: block; }
.title-line.accent {
  background: linear-gradient(120deg, var(--ios-blue) 0%, var(--ios-teal) 50%, var(--ios-mint) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}
.hero-text .lede {
  font-size: 17px;
  color: var(--text-soft);
  max-width: 580px;
  margin: 0 0 32px;
  line-height: 1.7;
}
.lede em {
  color: var(--ios-blue);
  font-weight: 600;
}
.lede b { color: var(--text); font-weight: 600; }

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--ios-blue);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 24px -10px rgba(10, 132, 255, 0.55);
  transition: transform .15s, box-shadow .2s, background .2s;
}
.btn-primary:hover {
  background: var(--ios-blue-2);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 18px 32px -10px rgba(10, 132, 255, 0.7);
}
.btn-primary.big { padding: 16px 32px; font-size: 16px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 14px 22px;
  border-radius: 999px;
  background: rgba(10, 132, 255, 0.08);
  color: var(--ios-blue);
  font-weight: 500;
  transition: background .2s;
}
.btn-ghost:hover {
  background: rgba(10, 132, 255, 0.14);
  color: var(--ios-blue-2);
}

/* ---------- Apple Activity Rings ---------- */
.activity-rings {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: #0c0c0e;          /* Apple Health 暗底，让圆环发光 */
  box-shadow:
    0 24px 48px -20px rgba(15, 23, 42, 0.35),
    0 8px 16px -8px rgba(15, 23, 42, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  max-width: 600px;
  position: relative;
  overflow: hidden;
}
.activity-rings::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(255,55,95,0.10), transparent 50%),
    radial-gradient(120% 80% at 100% 100%, rgba(10,132,255,0.10), transparent 50%);
  pointer-events: none;
}

.rings-widget {
  width: 168px;
  height: 168px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.rings-widget svg { width: 100%; height: 100%; display: block; }

/* Track 圆环（每个指标自己的暗色底） */
.ring-track {
  fill: none;
  stroke-width: 16;
}
.ring-track-move     { stroke: rgba(255, 45, 85, 0.18); }
.ring-track-exercise { stroke: rgba(52, 199, 89, 0.18); }
.ring-track-stand    { stroke: rgba(10, 132, 255, 0.22); }

/* 进度环 */
.ring-bar {
  fill: none;
  stroke-width: 16;
  stroke-linecap: round;
  filter: drop-shadow(0 0 6px currentColor);
  transform-origin: 110px 110px;
}
/* r=92 → 周长 ≈ 578.05；r=68 → 427.26；r=44 → 276.46
   动画从空（offset = 周长）→ 目标百分比 */
.ring-bar-move {
  stroke-dasharray: 578.05;
  stroke-dashoffset: 578.05;
  animation: fill-move 1.6s cubic-bezier(.2,.8,.2,1) .15s forwards;
}
.ring-bar-exercise {
  stroke-dasharray: 427.26;
  stroke-dashoffset: 427.26;
  animation: fill-exercise 1.4s cubic-bezier(.2,.8,.2,1) .35s forwards;
}
.ring-bar-stand {
  stroke-dasharray: 276.46;
  stroke-dashoffset: 276.46;
  animation: fill-stand 1.2s cubic-bezier(.2,.8,.2,1) .55s forwards;
}
/* 92%, 80%, 100% 视觉填充 */
@keyframes fill-move     { to { stroke-dashoffset: 46.24; } }
@keyframes fill-exercise { to { stroke-dashoffset: 85.45; } }
@keyframes fill-stand    { to { stroke-dashoffset: 0; } }

/* 图例 */
.rings-legend {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  flex: 1;
  position: relative;
  z-index: 1;
}
.rings-legend li {
  display: grid;
  grid-template-columns: 10px auto 1fr;
  align-items: baseline;
  column-gap: 12px;
  padding: 4px 0;
}
.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  align-self: center;
  box-shadow: 0 0 10px currentColor;
}
.legend-move    .legend-dot { background: linear-gradient(135deg, #ff5e7e, #ff2d55); color: #ff2d55; }
.legend-exercise .legend-dot { background: linear-gradient(135deg, #b6f436, #34c759); color: #34c759; }
.legend-stand   .legend-dot { background: linear-gradient(135deg, #67e0e3, #0a84ff); color: #0a84ff; }

.rings-legend b {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #f5f5f7;
  font-feature-settings: "tnum";
}
.rings-legend b i {
  font-style: normal;
  font-size: 13px;
  font-weight: 500;
  color: #8e8e93;
  margin-left: 2px;
}
.rings-legend em {
  font-style: normal;
  font-size: 12px;
  color: #a1a1a6;
  letter-spacing: 0.02em;
}

/* 减弱动效 */
@media (prefers-reduced-motion: reduce) {
  .ring-bar-move     { stroke-dashoffset: 46.24; animation: none; }
  .ring-bar-exercise { stroke-dashoffset: 85.45; animation: none; }
  .ring-bar-stand    { stroke-dashoffset: 0;     animation: none; }
}

/* ---------- 眼睛视觉（医疗清洁感） ---------- */
.hero-eye { display: flex; justify-content: center; }
.eye-frame {
  position: relative;
  width: min(440px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(10, 132, 255, 0.12) 0%, transparent 65%),
    radial-gradient(circle at 35% 30%, rgba(48, 176, 199, 0.10) 0%, transparent 50%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.eye-frame::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  border: 1.5px dashed rgba(10, 132, 255, 0.25);
  animation: spin 60s linear infinite;
}
.eye-frame::after {
  content: "";
  position: absolute;
  inset: 50px;
  border-radius: 50%;
  border: 1px solid rgba(10, 132, 255, 0.15);
}
@keyframes spin { to { transform: rotate(360deg); } }

.eye-orb {
  position: relative;
  width: 78%;
  height: 78%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #ffffff 0%, #e8eef6 50%, #d1dbe8 100%);
  box-shadow:
    inset 0 0 30px rgba(10, 132, 255, 0.08),
    inset 0 -10px 20px rgba(15, 23, 42, 0.06),
    0 30px 80px -24px rgba(15, 23, 42, 0.25),
    0 0 0 1px rgba(15, 23, 42, 0.05);
  overflow: hidden;
}
.eye-iris {
  position: absolute;
  top: 50%; left: 50%;
  width: 46%; height: 46%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, var(--ios-teal) 0%, var(--ios-blue) 55%, #002a52 100%);
  box-shadow:
    inset 0 0 14px rgba(0,0,0,0.45),
    inset 0 0 0 1px rgba(255,255,255,0.18),
    0 0 30px rgba(10, 132, 255, 0.45);
  animation: gaze 6s ease-in-out infinite;
}
@keyframes gaze {
  0%, 100% { transform: translate(-50%, -50%); }
  20%      { transform: translate(-72%, -56%); }
  40%      { transform: translate(-30%, -44%); }
  60%      { transform: translate(-58%, -36%); }
  80%      { transform: translate(-44%, -62%); }
}
.eye-pupil {
  position: absolute;
  top: 50%; left: 50%;
  width: 38%; height: 38%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, #07101e 30%, #0a1a30 100%);
}
.eye-glint {
  position: absolute;
  top: 22%; left: 26%;
  width: 22%; height: 22%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.95), rgba(255,255,255,0));
  filter: blur(0.5px);
}
.eye-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.eye-grid circle, .eye-grid line {
  stroke: rgba(10, 132, 255, 0.20) !important;
}
.eye-scan {
  position: absolute;
  left: 0; right: 0;
  height: 14%;
  top: -14%;
  background: linear-gradient(180deg, rgba(10, 132, 255, 0) 0%, rgba(10, 132, 255, 0.45) 50%, rgba(10, 132, 255, 0) 100%);
  filter: blur(2px);
  animation: scan 4s ease-in-out infinite;
}
@keyframes scan {
  0% { top: -14%; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* iOS 玻璃质感读数卡片 */
.eye-readouts {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.eye-readouts > div {
  position: absolute;
  font-family: "SF Mono", ui-monospace, "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 4px 12px rgba(15, 23, 42, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  color: var(--text-2);
}
.eye-readouts > div span { color: var(--text-mute); margin-right: 6px; }
.eye-readouts > div b { color: var(--ios-blue); font-weight: 600; }
.eye-readouts > div:nth-child(1) { top: 6%;  left: -6%; }
.eye-readouts > div:nth-child(2) { top: 18%; right: -8%; }
.eye-readouts > div:nth-child(3) { bottom: 22%; left: -4%; }
.eye-readouts > div:nth-child(4) { bottom: 6%;  right: -2%; }

.eye-tag {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ios-blue), var(--ios-teal));
  box-shadow: 0 12px 28px -10px rgba(10, 132, 255, 0.6);
  white-space: nowrap;
}
.eye-tag i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px rgba(255,255,255,0.9);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: 0.5; transform: scale(0.7); }
}

/* ---------- 通用 section ---------- */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 100px clamp(20px, 5vw, 56px);
}
.section-dark {
  max-width: none;
  padding: 100px clamp(20px, 5vw, 56px);
  background:
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.section-dark > .section-head,
.section-dark > .cap-grid,
.section-dark > .roadmap-rail,
.section-dark > .tech-stack {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.section-head {
  max-width: 760px;
  margin-bottom: 56px;
}
.section-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--ios-teal);
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.18;
  margin: 0 0 16px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
}
.section-head p {
  font-size: 16px;
  color: var(--text-soft);
  margin: 0;
  line-height: 1.7;
}
.section-head p b { color: var(--text); font-weight: 600; }

/* ---------- WHY 痛点卡片 ---------- */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.pain-card {
  position: relative;
  padding: 28px 24px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line-soft);
  transition: transform .25s, box-shadow .25s;
}
.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.pain-num {
  display: inline-block;
  font-family: "SF Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #fff;
  background: linear-gradient(135deg, var(--ios-blue), var(--ios-teal));
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 16px;
}
.pain-card h3 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}
.pain-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.7;
}
.pain-card p b { color: var(--ios-blue); font-weight: 600; }

.why-statement {
  margin-top: 56px;
  padding: 32px 36px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(10, 132, 255, 0.06), rgba(48, 176, 199, 0.04));
  border-left: 4px solid var(--ios-blue);
}
.why-statement p {
  margin: 0;
  font-size: 18px;
  color: var(--text);
  line-height: 1.7;
}
.why-statement em {
  color: var(--ios-blue);
  font-weight: 600;
  margin-right: 6px;
}
.why-statement b { color: var(--ios-teal); font-weight: 600; }

/* ---------- CAPABILITY ---------- */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.cap-card {
  position: relative;
  padding: 32px 30px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line-soft);
  transition: transform .25s, box-shadow .25s;
}
.cap-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.cap-card header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.cap-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 26px;
}
.cap-icon[data-icon="track"]    { background: linear-gradient(135deg, var(--ios-blue), var(--ios-indigo)); }
.cap-icon[data-icon="freeview"] { background: linear-gradient(135deg, var(--ios-teal), var(--ios-blue)); }
.cap-icon[data-icon="reading"]  { background: linear-gradient(135deg, var(--ios-mint), var(--ios-green)); }
.cap-icon[data-icon="fatigue"]  { background: linear-gradient(135deg, var(--ios-orange), var(--ios-red)); }
.cap-icon::before {
  content: "";
  width: 28px;
  height: 28px;
  background-color: #fff;
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.cap-icon[data-icon="track"]::before {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M2 12c2.5-4 6-6 10-6s7.5 2 10 6c-2.5 4-6 6-10 6s-7.5-2-10-6Zm10 3a3 3 0 1 0-3-3 3 3 0 0 0 3 3Z'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M2 12c2.5-4 6-6 10-6s7.5 2 10 6c-2.5 4-6 6-10 6s-7.5-2-10-6Zm10 3a3 3 0 1 0-3-3 3 3 0 0 0 3 3Z'/></svg>");
}
.cap-icon[data-icon="freeview"]::before {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><circle cx='6' cy='6' r='2'/><circle cx='18' cy='6' r='2'/><circle cx='6' cy='18' r='2'/><circle cx='18' cy='18' r='2'/><circle cx='12' cy='12' r='3'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><circle cx='6' cy='6' r='2'/><circle cx='18' cy='6' r='2'/><circle cx='6' cy='18' r='2'/><circle cx='18' cy='18' r='2'/><circle cx='12' cy='12' r='3'/></svg>");
}
.cap-icon[data-icon="reading"]::before {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M3 5h8v14H3zM13 5h8v14h-8z'/><path stroke='white' stroke-width='1.2' fill='none' d='M5 9h4M5 12h4M13 9h4M13 12h4'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M3 5h8v14H3zM13 5h8v14h-8z'/></svg>");
}
.cap-icon[data-icon="fatigue"]::before {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M3 13h3l2-6 4 12 3-9 2 3h4'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M3 13h3l2-6 4 12 3-9 2 3h4'/></svg>");
}

.cap-card h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.cap-tag {
  font-family: "SF Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ios-blue);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(10, 132, 255, 0.10);
}
.cap-card > p {
  color: var(--text-soft);
  margin: 0 0 16px;
}
.cap-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cap-card ul li {
  font-size: 12px;
  font-weight: 500;
  padding: 5px 12px;
  background: rgba(48, 176, 199, 0.10);
  color: var(--ios-teal);
  border-radius: 999px;
}

.tech-stack {
  margin-top: 48px;
  padding: 28px 32px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 32px;
}
.tech-stack > span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--ios-teal);
}
.tech-stack ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.tech-stack li {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  position: relative;
  padding-left: 16px;
}
.tech-stack li::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ios-blue);
  transform: translateY(-50%);
  box-shadow: 0 0 8px rgba(10, 132, 255, 0.5);
}

/* ---------- SCENARIO ---------- */
.scene-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.scene-grid > article {
  padding: 28px 26px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line-soft);
  transition: transform .25s, box-shadow .25s;
}
.scene-grid > article:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.persona {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
}
.persona::before {
  content: "";
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 60%;
}
.persona-a { background: linear-gradient(135deg, var(--ios-orange), var(--ios-red)); }
.persona-a::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M12 12a4 4 0 1 0-4-4 4 4 0 0 0 4 4Zm0 2c-3.3 0-9 1.7-9 5v3h18v-3c0-3.3-5.7-5-9-5Z'/></svg>");
}
.persona-b { background: linear-gradient(135deg, var(--ios-blue), var(--ios-teal)); }
.persona-b::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 12h2l3-9 4 18 3-12 2 4h4'/></svg>");
}
.persona-c { background: linear-gradient(135deg, var(--ios-mint), var(--ios-green)); }
.persona-c::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'><circle cx='12' cy='12' r='9'/><path d='M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18'/></svg>");
}
.scene-grid h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.scene-grid p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.7;
}

/* ---------- ROADMAP ---------- */
.roadmap-rail {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  gap: 12px;
}
.roadmap-rail::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 6%;
  right: 6%;
  height: 2px;
  background: linear-gradient(90deg, var(--ios-blue), var(--ios-teal), var(--ios-mint), var(--ios-green));
  border-radius: 2px;
  opacity: 0.6;
}
.roadmap-rail > li {
  position: relative;
  padding: 0 14px;
}
.rail-dot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--ios-blue);
  margin-bottom: 22px;
  font-family: "SF Mono", ui-monospace, monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--ios-blue);
  box-shadow: 0 8px 16px -6px rgba(10, 132, 255, 0.4), 0 0 0 4px rgba(10, 132, 255, 0.08);
}
.roadmap-rail > li:nth-child(2) .rail-dot { border-color: var(--ios-teal); color: var(--ios-teal); box-shadow: 0 8px 16px -6px rgba(48, 176, 199, 0.4), 0 0 0 4px rgba(48, 176, 199, 0.08); }
.roadmap-rail > li:nth-child(3) .rail-dot { border-color: var(--ios-mint); color: var(--ios-mint); box-shadow: 0 8px 16px -6px rgba(0, 199, 190, 0.4), 0 0 0 4px rgba(0, 199, 190, 0.08); }
.roadmap-rail > li:nth-child(4) .rail-dot { border-color: var(--ios-green); color: var(--ios-green); box-shadow: 0 8px 16px -6px rgba(52, 199, 89, 0.4), 0 0 0 4px rgba(52, 199, 89, 0.08); }
.rail-dot::after {
  content: attr(data-step);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.roadmap-rail h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.roadmap-rail p {
  margin: 0;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.7;
}

/* ---------- CONTACT ---------- */
.contact {
  padding: 80px clamp(20px, 5vw, 56px) 60px;
  max-width: var(--max);
  margin: 0 auto;
}
.contact-shell {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  padding: 56px clamp(28px, 4vw, 64px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.contact-shell::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ios-blue), var(--ios-teal), var(--ios-mint), var(--ios-green));
}
.contact-shell::after {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 132, 255, 0.12), transparent 70%);
  pointer-events: none;
}
.contact-text { position: relative; }
.contact-text h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  margin: 14px 0 16px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.025em;
}
.contact-text p {
  color: var(--text-soft);
  font-size: 16px;
  margin: 0 0 24px;
  line-height: 1.7;
}
.contact-text p b { color: var(--ios-blue); font-weight: 600; }
.contact-types {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 !important;
}
.contact-types span {
  padding: 11px 22px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 999px;
  background: rgba(10, 132, 255, 0.08);
  color: var(--ios-blue);
  border: 1px solid rgba(10, 132, 255, 0.12);
}

.contact-blocks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  align-content: start;
  position: relative;
}
.contact-block {
  padding: 22px 22px 20px;
  border-radius: 16px;
  background: linear-gradient(180deg, #f4f7fb 0%, #eef2f8 100%);
  border: 1px solid rgba(10, 132, 255, 0.10);
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
}
.contact-block:hover {
  transform: translateY(-2px);
  background: #fff;
  border-color: rgba(10, 132, 255, 0.28);
  box-shadow:
    0 14px 32px -10px rgba(10, 132, 255, 0.18),
    0 4px 10px rgba(15, 23, 42, 0.05);
}
.contact-block:hover .block-tag {
  color: var(--ios-blue) !important;
}
.contact-block:hover li,
.contact-block:hover li a {
  color: #1d1d1f !important;
}
.contact-block:hover li span {
  color: #424248 !important;
}
.contact-block-wide { grid-column: 1 / -1; }
.block-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--ios-teal);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.contact-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.contact-block li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text);
}
.contact-block li a {
  color: var(--text);
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.contact-block li a:hover {
  color: var(--ios-blue);
  border-color: rgba(10, 132, 255, 0.4);
}
.contact-block li span { color: var(--text-2); font-weight: 400; line-height: 1.5; }

/* iOS 风图标 */
.ico {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ico::before {
  content: "";
  width: 16px;
  height: 16px;
  background-color: #fff;
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.ico-mail  { background: linear-gradient(135deg, var(--ios-blue), var(--ios-teal)); }
.ico-mail::before {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M2 6.5A2.5 2.5 0 0 1 4.5 4h15A2.5 2.5 0 0 1 22 6.5l-10 6-10-6Zm0 2.4V18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8.9l-10 6Z'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M2 6.5A2.5 2.5 0 0 1 4.5 4h15A2.5 2.5 0 0 1 22 6.5l-10 6-10-6Zm0 2.4V18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8.9l-10 6Z'/></svg>");
}
.ico-phone { background: linear-gradient(135deg, var(--ios-green), var(--ios-mint)); }
.ico-phone::before {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M6.6 10.8a15 15 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.5 11.5 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1 11.5 11.5 0 0 0 .57 3.6 1 1 0 0 1-.25 1Z'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M6.6 10.8a15 15 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.5 11.5 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1 11.5 11.5 0 0 0 .57 3.6 1 1 0 0 1-.25 1Z'/></svg>");
}
.ico-pin   { background: linear-gradient(135deg, var(--ios-orange), var(--ios-red)); }
.ico-pin::before {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M12 2a8 8 0 0 0-8 8c0 6 8 12 8 12s8-6 8-12a8 8 0 0 0-8-8Zm0 11a3 3 0 1 1 3-3 3 3 0 0 1-3 3Z'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M12 2a8 8 0 0 0-8 8c0 6 8 12 8 12s8-6 8-12a8 8 0 0 0-8-8Zm0 11a3 3 0 1 1 3-3 3 3 0 0 1-3 3Z'/></svg>");
}

/* ---------- footer ---------- */
.site-footer {
  padding: 40px clamp(20px, 5vw, 56px) 56px;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--text-mute);
  font-size: 13px;
}
.footer-brand {
  display: block;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--text-2);
  margin-bottom: 6px;
}
.site-footer p { margin: 4px 0; }
.footer-meta { text-align: right; }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 0;
    padding-top: 30px;
  }
  .hero-eye { order: -1; }
  .eye-frame { width: min(360px, 80%); }

  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .cap-grid { grid-template-columns: 1fr; }
  .scene-grid { grid-template-columns: 1fr; }
  .roadmap-rail { grid-template-columns: 1fr; gap: 22px; }
  .roadmap-rail::before { display: none; }
  .contact-shell { grid-template-columns: 1fr; gap: 32px; padding: 40px 28px; }
  .contact-blocks { grid-template-columns: 1fr; }
  .contact-block-wide { grid-column: auto; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-meta { text-align: left; }
}
@media (max-width: 640px) {
  .top-nav { display: none; }
  .pain-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; }
  .eye-readouts > div:nth-child(2) { right: 4%; }
  .eye-readouts > div:nth-child(4) { right: 4%; }
  .eye-readouts > div:nth-child(1) { left: 4%; }
  .eye-readouts > div:nth-child(3) { left: 4%; }
}

/* ---------- 减弱动效（无障碍） ---------- */
@media (prefers-reduced-motion: reduce) {
  .eye-iris, .eye-scan, .eye-frame::before, .eye-tag i { animation: none; }
}
