/* Pure TV 官网共享样式 —— 纯静态、无框架、无外部字体
   色板取自 web/public/img/pure-tv-logo.svg，详见 docs/site-build-notes.md */

:root {
  --bg: #F7FBFE;            /* 页面底：白里透一点冰蓝 */
  --bg-card: #FFFFFF;       /* 卡片纯白 */
  --ink: #10202E;           /* 正文深蓝灰 */
  --ink-2: #1B2C3A;         /* 次级标题 */
  --muted: #5F7686;         /* 次级文字 */
  --line: rgba(16, 32, 46, .08);
  --c1: #68CEF5;            /* logo 青 */
  --c2: #4F95DA;            /* logo 蓝 */
  --mint: #C3F2C8;          /* logo 薄荷，仅极小面积点缀 */
  --ice: #CAEFFC;
  --ice-2: #CAF0FB;
  --grad: linear-gradient(135deg, #68CEF5 0%, #4F95DA 100%);
  --shadow: 0 20px 60px -30px rgba(79, 149, 218, .35);
  --radius: 16px;
  --radius-lg: 20px;
  --header-h: 62px;
  --font: -apple-system, "Segoe UI", "PingFang SC", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html {
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.75;
  letter-spacing: .01em;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--c2); text-decoration: none; }
a:hover { text-decoration: underline; }

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--c2);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 顶栏：半透明毛玻璃 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: .04em;
  white-space: nowrap;
}
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; }
.brand .tv { color: var(--c2); font-weight: 500; }

.site-nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
  align-items: center;
}
.site-nav a { color: var(--muted); font-size: 15px; }
.site-nav a:hover { color: var(--ink); text-decoration: none; }

.lang-switch {
  display: inline-flex;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px;
  background: var(--bg-card);
}
.lang-switch a {
  padding: 4px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
}
.lang-switch a[aria-current="true"] {
  background: var(--grad);
  color: #0D2233;
  font-weight: 500;
}
.lang-switch a:hover { color: var(--ink); text-decoration: none; }

/* ---------- 布局容器 ---------- */
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; }
section + section { border-top: 1px solid var(--line); }
section.alt { background: #FBFDFF; }

/* ---------- 首屏 ---------- */
.hero {
  padding: 72px 0 88px;
  background: linear-gradient(180deg, #F4FAFE 0%, rgba(244, 250, 254, 0) 100%);
}
.hero-grid {
  display: block;
}
.eyebrow {
  display: inline-block;
  color: var(--c2);
  font-size: 12px;
  letter-spacing: .08em;
  margin: 0 0 16px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--ice-2);
  border: 1px solid var(--line);
}
.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.2rem);
  line-height: 1.2;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 12px;
  letter-spacing: .01em;
}
.hero h1 .sub-line {
  display: block;
  font-weight: 400;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  color: var(--ink-2);
  margin-top: 12px;
}
.hero-lede {
  color: var(--ink-2);
  font-size: 17px;
  margin: 20px 0 14px;
  max-width: 34em;
}
.hero-note {
  color: var(--muted);
  font-size: 14.5px;
  margin: 0 0 30px;
  max-width: 36em;
}

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--font);
  letter-spacing: .01em;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-primary {
  background: var(--grad);
  color: #0D2233;
  box-shadow: 0 12px 30px -14px rgba(79, 149, 218, .55);
}
.btn-primary:hover { transform: translateY(-1px); text-decoration: none; box-shadow: 0 16px 36px -14px rgba(79, 149, 218, .6); }
.btn-secondary {
  background: var(--bg-card);
  color: var(--ink);
  border-color: var(--line);
}
.btn-secondary:hover { border-color: var(--c1); text-decoration: none; }
.btn small { font-weight: 400; opacity: .75; }

.fact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 14px;
}
.fact-row span::before { content: "·"; margin-right: 22px; color: var(--c1); }
.fact-row span:first-child::before { content: none; margin: 0; }

/* 首屏：磁贴浮在冰白柔光上，不用整张贴图 */
.hero-deck {
  margin: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, #FFFFFF 0%, #F3FAFE 100%);
  box-shadow: var(--shadow);
  padding: 44px 32px 30px;
}
.tile-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px 20px;
  align-items: center;
  justify-content: center;
}
.tile {
  height: 96px;
  width: auto;
  filter: drop-shadow(0 16px 24px rgba(79, 149, 218, .30));
}
.tile:nth-child(odd) { transform: translateY(-8px); }
.deck-cap { color: var(--muted); font-size: 14px; text-align: center; margin: 28px 0 0; }

/* ---------- 功能分节 ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.feature.reverse .feature-media { order: -1; }
.feature.solo { grid-template-columns: 1fr; max-width: 760px; margin: 0 auto; }
.feature h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 16px;
  line-height: 1.3;
  letter-spacing: .01em;
}
.feature p { color: var(--ink-2); margin: 0 0 14px; }

.points { list-style: none; margin: 20px 0 0; padding: 0; }
.points li {
  padding: 10px 0 10px 28px;
  position: relative;
  color: var(--ink);
}
.points li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 22px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad);
}
.points li strong { color: var(--ink); font-weight: 600; }
.points li span { color: var(--muted); }

.shot {
  margin: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--bg-card);
  box-shadow: var(--shadow);
  padding: 24px;
}
.shot img { width: 100%; border-radius: 12px; }
.shot + .shot { margin-top: 20px; }

/* 无图板块：三屏结构 CSS 图示 */
.diagram {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow);
}
.screen-row {
  display: flex;
  gap: 12px;
  align-items: stretch;
  width: 100%;
  justify-content: center;
}
.screen-chip {
  flex: 1;
  max-width: 190px;
  background: #F4FAFE;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 14px;
  text-align: center;
}
.screen-chip .num { font-size: 12px; letter-spacing: .08em; color: var(--c2); }
.screen-chip .lbl { font-weight: 600; color: var(--ink); margin-top: 6px; font-size: 15.5px; }
.screen-chip .hint { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.screen-arrow { align-self: center; color: var(--c1); font-size: 20px; }
.switch-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ice-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 14.5px;
  color: var(--ink-2);
}
.switch-pill strong { color: var(--c2); font-weight: 600; }

/* 手机后台：单台手机框自动轮播，不做视觉主角 */
.phone-carousel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}
.phone-frame {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 12px;
  box-shadow: 0 14px 34px -24px rgba(79, 149, 218, .35);
  outline-offset: 4px;
}
.phone-slides {
  position: relative;
  aspect-ratio: 780 / 1696;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}
.phone-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity .7s ease;
}
.phone-slide.is-on { opacity: 1; }
.phone-slide img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 14px; }
.phone-caption {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
  text-align: center;
  min-height: 2.6em;
}
.phone-dots { display: flex; gap: 8px; }
.phone-dot {
  width: 8px; height: 8px; border-radius: 50%;
  border: 0; padding: 0; cursor: pointer;
  background: #D8E6F2;
  transition: background .3s ease, transform .3s ease;
}
.phone-dot.is-on { background: var(--c2); transform: scale(1.25); }

/* 两类档案 CSS 图示（替代深色 PIN 截图） */
.profiles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.profile-card {
  background: #F4FAFE;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
}
.profile-card.child { background: #EAF7EE; border-color: rgba(195, 242, 200, .65); }
.profile-card .tag { font-size: 12px; letter-spacing: .08em; color: var(--c2); }
.profile-card h3 { margin: 6px 0 10px; font-size: 17px; font-weight: 600; color: var(--ink); }
.profile-card .pl { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.7; }
.feature-media .watchdog { margin: 18px 0 0; font-size: 14.5px; color: var(--muted); text-align: center; }

/* ---------- 三栏小字 ---------- */
.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.mini-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 10px 30px -22px rgba(79, 149, 218, .3);
}
.mini-card h3 { margin: 0 0 8px; font-size: 16.5px; font-weight: 600; color: var(--ink); }
.mini-card p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- 定价 ---------- */
.price-panel {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}
.price-panel h2 { margin-top: 0; font-weight: 600; }
.price-line {
  font-size: 36px;
  font-weight: 600;
  color: var(--ink);
  margin: 16px 0 6px;
}
.price-line small { font-size: 16px; font-weight: 400; color: var(--muted); }
.price-list { list-style: none; padding: 0; margin: 18px 0; }
.price-list li { padding: 6px 0 6px 28px; position: relative; color: var(--ink-2); }
.price-list li::before {
  content: "✓";
  position: absolute; left: 0;
  color: var(--c2);
  font-weight: 600;
}

/* ---------- 下载 ---------- */
.download-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 22px 0;
}
.dl-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 10px 30px -22px rgba(79, 149, 218, .3);
}
.dl-card h3 { margin: 0 0 6px; font-size: 17px; font-weight: 600; color: var(--ink); }
.dl-card .meta { color: var(--muted); font-size: 14.5px; margin: 0 0 16px; }
.dl-card .btn { margin-top: 6px; }
.dl-card.disabled { background: #F4FAFE; }
.dl-note { color: var(--muted); font-size: 13.5px; margin-top: 10px; }
.sha { font-family: var(--mono); font-size: 14px; color: var(--muted); }
.install-steps { padding-left: 22px; color: var(--ink-2); }
.install-steps li { margin: 8px 0; }

/* ---------- FAQ ---------- */
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  margin: 10px 0;
  padding: 0 22px;
}
.faq summary {
  cursor: pointer;
  padding: 18px 0;
  font-weight: 500;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--c2); font-size: 20px; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 0 0 18px; }

/* ---------- 页脚 ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 56px;
  color: var(--muted);
  font-size: 14px;
  background: #F1F8FC;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: .04em;
  margin-bottom: 16px;
}
.footer-brand img { width: 24px; height: 24px; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-bottom: 18px;
}
.footer-nav a { color: var(--muted); }
.footer-nav a:hover { color: var(--c2); }
.legal { line-height: 1.8; max-width: 720px; }
.legal p { margin: 6px 0; }

/* ---------- 移动端固定下载条（JS 启用，无 JS 不显示） ---------- */
.mobile-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 30;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  display: none;
}
.mobile-cta.is-on { display: block; }
.mobile-cta .btn { width: 100%; justify-content: center; }
body.has-mobile-cta { padding-bottom: 84px; }

/* ---------- 平板 768–1199 ---------- */
@media (max-width: 1199px) {
  .hero-grid, .feature { grid-template-columns: 1fr; gap: 36px; }
  .feature.reverse .feature-media { order: 0; }
  .three-col { grid-template-columns: 1fr 1fr; }
  .download-grid { grid-template-columns: 1fr; }
  section { padding: 72px 0; }
}

/* ---------- 手机 <768 ---------- */
@media (max-width: 767px) {
  body { font-size: 16px; }
  section { padding: 48px 0; }
  .site-nav { display: none; }
  .hero { padding: 40px 0 56px; }
  .hero h1 { font-size: 1.95rem; }
  .three-col { grid-template-columns: 1fr; }
  .price-panel { padding: 26px; }
  .btn { width: 100%; justify-content: center; }
  .fact-row { flex-direction: column; gap: 6px; }
  .fact-row span::before { content: "·"; margin-right: 10px; }
  .screen-row { flex-direction: column; }
  .screen-chip { max-width: 100%; }
  .screen-arrow { transform: rotate(90deg); }
  .profiles { grid-template-columns: 1fr; }
  .hero-deck { padding: 28px 18px 22px; }
  .tile-row { flex-wrap: wrap; gap: 12px 14px; }
  .tile { height: 64px; }
  .tile:nth-child(odd) { transform: none; }
}

/* ---------- 减弱动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
