/* 播见官网改版样式表 | 基于 Linear 展示逻辑 + 浅色调 + 真实界面为主 */

/* ========== 字体与CSS变量 ========== */
@font-face {
  font-family: NoteSerif;
  src: url('./assets/noto-serif-cn.woff2') format('woff2');
  font-display: swap;
  font-weight: 400 700;
}

@font-face {
  font-family: NoteSans;
  src: url('./assets/noto-sans-cn.woff2') format('woff2');
  font-display: swap;
  font-weight: 100 900;
}

:root {
  /* 颜色系统 - 保留原有识别色，增加层次 */
  --paper: #f7f6ef;
  --paper-elevated: #fffef8;
  --ink: #263b30;
  --ink-light: #4a5a50;
  --muted: #5b665e;
  --line: #cbd1c3;
  --line-light: #e8ebe3;
  --green: #d8ed8b;
  --green-hover: #c5dc75;
  --surface: #eeeee2;
  --accent-blue: #4a7c9e; /* 新增：数据强调色 */
  
  /* 字体 */
  --serif: NoteSerif, 'Noto Serif SC', 'Songti SC', SimSun, serif;
  --sans: NoteSans, 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  
  /* 动效 */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
  
  /* 间距系统 */
  --space-xs: 8px;
  --space-s: 16px;
  --space-m: 24px;
  --space-l: 40px;
  --space-xl: 64px;
  --space-2xl: 96px;
  
  /* 阴影 */
  --shadow-sm: 0 2px 8px rgba(38, 59, 48, 0.08);
  --shadow-md: 0 4px 16px rgba(38, 59, 48, 0.12);
  --shadow-lg: 0 8px 32px rgba(38, 59, 48, 0.16);
}

/* ========== 基础样式重置 ========== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--green);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 4px;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}

/* ========== 辅助类 ========== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 10px;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 16px;
  border-radius: 4px;
  z-index: 9999;
}

.skip-link:focus {
  top: 10px;
}

.page-width {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
}

.highlight {
  color: var(--accent-blue);
  font-weight: 600;
}

/* ========== 头部导航 ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 246, 239, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: var(--space-s) 0;
}

.site-header .page-width {
  display: flex;
  align-items: center;
  gap: var(--space-m);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 600;
  text-decoration: none !important;
}

.brand img {
  flex-shrink: 0;
}

.brand-plus {
  font-weight: 400;
  color: var(--muted);
}

.menu-toggle {
  display: none; /* 移动端菜单按钮，暂不实现细节 */
}

#main-nav {
  display: flex;
  gap: var(--space-m);
  margin-left: auto;
}

#main-nav a {
  font-size: 15px;
  color: var(--ink-light);
  transition: color 0.2s var(--ease);
}

#main-nav a:hover {
  color: var(--ink);
  text-decoration: none;
}

.header-download {
  margin-left: var(--space-s);
}

/* ========== 按钮系统 ========== */
.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none !important;
  transition: all 0.2s var(--ease);
  cursor: pointer;
}

.button-primary {
  background: var(--ink);
  color: var(--paper);
}

.button-primary:hover {
  background: var(--ink-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.button-secondary {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}

.button-secondary:hover {
  border-color: var(--ink);
  background: var(--paper-elevated);
}

.button-small {
  padding: 8px 16px;
  font-size: 14px;
}

.button-large {
  padding: 16px 32px;
  font-size: 17px;
}

.text-link {
  color: var(--accent-blue);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 15px;
  transition: opacity 0.2s;
}

.text-link:hover {
  opacity: 0.75;
  text-decoration: underline;
}

/* ========== Hero区：大标题 + 多层截图展示 ========== */
.hero-new {
  padding: var(--space-2xl) 0 var(--space-xl);
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-elevated) 100%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-xl);
  align-items: center;
}

.hero-text h1 {
  font-family: var(--serif);
  font-size: clamp(38px, 4.5vw, 56px);
  line-height: 1.25;
  margin: 0 0 var(--space-m);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hero-desc {
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.75;
  color: var(--ink-light);
  margin: 0 0 var(--space-l);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: var(--space-s);
  flex-wrap: wrap;
  margin-bottom: var(--space-m);
}

.hero-footnote {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

/* Hero右侧：多层截图叠放展示 */
.hero-visual-stack {
  position: relative;
  height: clamp(400px, 45vw, 560px);
}

.screenshot-layer {
  position: absolute;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line-light);
  background: var(--paper-elevated);
  transition: transform 0.4s var(--ease-out);
}

.screenshot-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.screenshot-front {
  top: 0;
  left: 0;
  right: 8%;
  bottom: 20%;
  z-index: 3;
}

.screenshot-mid {
  top: 12%;
  left: 15%;
  right: 0;
  bottom: 10%;
  z-index: 2;
  opacity: 0.75;
  transform: rotate(2deg);
}

.screenshot-back {
  top: 20%;
  left: 8%;
  right: 10%;
  bottom: 0;
  z-index: 1;
  opacity: 0.5;
  transform: rotate(-1deg);
}

.hero-visual-stack:hover .screenshot-front {
  transform: translateY(-4px);
}

.hero-visual-stack:hover .screenshot-mid {
  transform: translateY(-2px) rotate(2deg);
}

.screenshot-label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(38, 59, 48, 0.88);
  color: var(--paper-elevated);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  backdrop-filter: blur(8px);
}

/* ========== 核心能力展开区 ========== */
.product-section {
  padding: var(--space-2xl) 0;
  background: var(--paper-elevated);
}

.section-header {
  max-width: 680px;
  margin: 0 auto var(--space-xl);
  text-align: center;
}

.section-header h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 3.5vw, 44px);
  line-height: 1.35;
  margin: 0 0 var(--space-s);
  font-weight: 600;
}

.section-header p {
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.8;
  color: var(--ink-light);
  margin: 0;
}

/* 单个能力块：真实界面 + 文字说明 */
.capability-block {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--space-xl);
  align-items: center;
  margin: var(--space-xl) 0;
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--line);
}

.capability-block:first-of-type {
  border-top: none;
}

.capability-reverse {
  grid-template-columns: 7fr 5fr;
}

.capability-reverse .capability-text {
  order: 2;
}

.capability-reverse .capability-visual {
  order: 1;
}

.capability-text h3 {
  font-family: var(--sans);
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.4;
  margin: 0 0 var(--space-s);
  font-weight: 600;
}

.capability-text > p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-light);
  margin: 0 0 var(--space-m);
}

.capability-points {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-m);
}

.capability-points li {
  position: relative;
  padding-left: 24px;
  margin: 10px 0;
  font-size: 15px;
  color: var(--ink-light);
}

.capability-points li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 600;
}

/* 真实界面展示框 */
.interface-frame {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.3s var(--ease);
}

.interface-frame:hover {
  box-shadow: var(--shadow-lg);
}

.interface-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.zoom-trigger {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  background: rgba(38, 59, 48, 0.88);
  color: var(--paper-elevated);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.2s var(--ease);
  backdrop-filter: blur(8px);
}

.interface-frame:hover .zoom-trigger {
  opacity: 1;
}

.zoom-trigger:hover {
  background: var(--ink);
  transform: scale(1.05);
}

.visual-note {
  font-size: 13px;
  color: var(--muted);
  margin: var(--space-s) 0 0;
  line-height: 1.6;
}

/* 辅助功能（录屏助手）视觉比重降低 */
.capability-secondary {
  opacity: 0.85;
  margin-top: var(--space-xl);
  padding-top: var(--space-xl);
}

.capability-visual-compact .interface-frame {
  max-width: 600px;
}

/* ========== 价值主张区 ========== */
.values-section {
  padding: var(--space-2xl) 0;
  background: var(--ink);
  color: var(--paper-elevated);
}

.values-section h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 3.5vw, 42px);
  line-height: 1.35;
  margin: 0 0 var(--space-s);
  text-align: center;
}

.values-lead {
  font-size: 18px;
  text-align: center;
  color: #dfe5d8;
  margin: 0 0 var(--space-xl);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-l);
  margin-bottom: var(--space-l);
}

.value-card {
  background: rgba(255, 254, 248, 0.06);
  border: 1px solid rgba(255, 254, 248, 0.12);
  border-radius: 10px;
  padding: var(--space-l);
  transition: all 0.3s var(--ease);
}

.value-card:hover {
  background: rgba(255, 254, 248, 0.09);
  border-color: rgba(255, 254, 248, 0.2);
  transform: translateY(-2px);
}

.value-card h3 {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  margin: 0 0 var(--space-s);
}

.value-card p {
  font-size: 15px;
  line-height: 1.75;
  color: #dfe5d8;
  margin: 0;
}

.values-disclaimer {
  font-size: 14px;
  line-height: 1.8;
  color: #b8c3b3;
  text-align: center;
  max-width: 800px;
  margin: var(--space-xl) auto 0;
}

/* ========== 定价区：强化首购优惠 ========== */
.pricing-section-new {
  padding: var(--space-2xl) 0;
  background: var(--paper);
}

.pricing-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--space-xl);
  align-items: start;
}

.pricing-intro h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 3.2vw, 42px);
  line-height: 1.4;
  margin: 0 0 var(--space-m);
  font-weight: 600;
}

.pricing-intro p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-light);
  margin: 0 0 var(--space-m);
}

.pricing-card {
  background: var(--paper-elevated);
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: var(--space-l);
  box-shadow: var(--shadow-md);
}

.pricing-header {
  border-bottom: 1px solid var(--line-light);
  padding-bottom: var(--space-m);
  margin-bottom: var(--space-m);
}

.pricing-badge {
  display: inline-block;
  background: var(--green);
  color: var(--ink);
  padding: 4px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: var(--space-s);
}

.pricing-card h3 {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 4px;
}

.pricing-subtitle {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
}

.pricing-main {
  padding: var(--space-m) 0;
  border-bottom: 1px solid var(--line-light);
  margin-bottom: var(--space-m);
}

.price-display {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: var(--space-s);
}

.price-currency {
  font-size: 24px;
  font-weight: 600;
  color: var(--muted);
}

.price-value {
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
}

.price-period {
  font-size: 18px;
  color: var(--muted);
}

.price-condition {
  font-size: 15px;
  color: var(--accent-blue);
  font-weight: 500;
  margin: 0 0 var(--space-s);
}

.price-renewal {
  font-size: 14px;
  color: var(--ink-light);
  margin: 0;
}

.pricing-steps h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 var(--space-s);
}

.pricing-steps ol {
  padding-left: 20px;
  margin: 0 0 var(--space-m);
}

.pricing-steps li {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-light);
  margin: 8px 0;
}

.copy-wechat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s var(--ease);
}

.copy-wechat:hover {
  background: var(--green);
  transform: translateY(-1px);
}

.copy-icon {
  font-size: 12px;
  opacity: 0.7;
}

.pricing-card .button-large {
  width: 100%;
  justify-content: center;
  margin: var(--space-m) 0;
}

.pricing-note {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

.pricing-note strong {
  color: var(--ink-light);
}

/* ========== FAQ区：手风琴式折叠 ========== */
.faq-section-new {
  padding: var(--space-2xl) 0;
  background: var(--paper-elevated);
}

.faq-header {
  max-width: 680px;
  margin: 0 auto var(--space-xl);
  text-align: center;
}

.faq-header h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 3.5vw, 42px);
  line-height: 1.35;
  margin: 0 0 var(--space-s);
  font-weight: 600;
}

.faq-header p {
  font-size: 16px;
  color: var(--ink-light);
  margin: 0 0 var(--space-s);
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-top: 1px solid var(--line);
  padding: var(--space-m) 0;
}

.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s var(--ease);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 24px;
  color: var(--muted);
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
  margin-left: var(--space-s);
}

.faq-item[open] summary::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-item summary:hover {
  color: var(--accent-blue);
}

.faq-answer {
  padding: var(--space-m) 0 0;
  animation: fade-in 0.3s var(--ease);
}

.faq-answer p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-light);
  margin: 0 0 var(--space-s);
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== 收尾CTA ========== */
.closing-section-new {
  padding: var(--space-2xl) 0;
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-elevated) 100%);
  text-align: center;
}

.closing-content h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 3.5vw, 44px);
  line-height: 1.4;
  margin: 0 0 var(--space-l);
  font-weight: 600;
}

.closing-actions {
  display: flex;
  gap: var(--space-s);
  justify-content: center;
  flex-wrap: wrap;
}

/* ========== 页脚 ========== */
.site-footer-new {
  background: var(--ink);
  color: var(--paper-elevated);
  padding: var(--space-xl) 0 var(--space-m);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255, 254, 248, 0.12);
  margin-bottom: var(--space-m);
}

.footer-brand p {
  font-size: 15px;
  color: #dfe5d8;
  margin: var(--space-s) 0 0;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-l);
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 var(--space-s);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #b8c3b3;
}

.footer-col a {
  display: block;
  font-size: 15px;
  color: #dfe5d8;
  margin: 8px 0;
  transition: color 0.2s var(--ease);
}

.footer-col a:hover {
  color: var(--green);
  text-decoration: none;
}

.footer-bottom {
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: #b8c3b3;
  margin: 6px 0;
}

/* ========== 图片灯箱弹窗 ========== */
.image-dialog {
  border: none;
  padding: 0;
  max-width: 95vw;
  max-height: 95vh;
  border-radius: 12px;
  background: var(--paper-elevated);
  box-shadow: var(--shadow-lg);
}

.image-dialog::backdrop {
  background: rgba(38, 59, 48, 0.75);
  backdrop-filter: blur(8px);
}

.dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-m);
  border-bottom: 1px solid var(--line);
}

.dialog-header h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.dialog-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: background 0.2s var(--ease);
}

.dialog-close:hover {
  background: var(--surface);
}

.dialog-content {
  padding: var(--space-m);
  max-height: calc(95vh - 80px);
  overflow: auto;
}

.dialog-content img {
  width: 100%;
  height: auto;
  display: block;
}

/* ========== Toast提示 ========== */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--ink);
  color: var(--paper-elevated);
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s var(--ease);
  z-index: 9999;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ========== 响应式：移动端适配 ========== */
@media (max-width: 960px) {
  :root {
    --space-l: 32px;
    --space-xl: 48px;
    --space-2xl: 64px;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: var(--space-l);
  }
  
  .hero-visual-stack {
    height: 360px;
  }
  
  .screenshot-mid,
  .screenshot-back {
    display: none; /* 移动端只显示前景截图 */
  }
  
  .screenshot-front {
    position: static;
    border-radius: 10px;
  }
  
  .capability-block,
  .capability-reverse {
    grid-template-columns: 1fr;
    gap: var(--space-m);
  }
  
  .capability-reverse .capability-text {
    order: 1;
  }
  
  .capability-reverse .capability-visual {
    order: 2;
  }
  
  .pricing-layout {
    grid-template-columns: 1fr;
    gap: var(--space-l);
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-l);
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: var(--space-m);
  }
  
  #main-nav {
    display: none; /* 移动端菜单需要JS交互，暂不实现 */
  }
}

@media (max-width: 640px) {
  .hero-text h1 {
    font-size: 32px;
  }
  
  .section-header h2 {
    font-size: 28px;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .hero-actions .button {
    width: 100%;
    justify-content: center;
  }
  
  .closing-actions {
    flex-direction: column;
  }
  
  .closing-actions .button {
    width: 100%;
  }
}

/* Screenshot-requested recording content in the middle value card. */
.value-card .capability-points{margin:16px 0 0}
.value-card .capability-points li{color:#dfe5d8;font-size:14px;line-height:1.75}

/* Product overview: separate capabilities from the closing summary. */
#product .product-summary { display: grid; gap: 8px; margin-top: 24px; text-wrap: pretty; }
#product .product-summary .product-summary-closing { margin-top: 8px; }
