/* ============================================================
   平行 · 官网样式 —— 叙事式长页
   纯白 / 黑白灰 / 克制蓝 / 大留白 / 细字重 / 无重阴影
   每屏一个重点，主次分明
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;          /* 浅灰块 */
  --ink: #1d1d1f;             /* 主文字 */
  --ink-2: #6e6e73;           /* 次级文字 */
  --ink-3: #86868b;           /* 弱文字 */
  --accent: #0071e3;          /* 蓝 */
  --line: #d2d2d7;
  --line-soft: #e8e8ed;
  --radius: 24px;
  --maxw: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro SC", "SF Pro Text", "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
svg { display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

/* ---------------- 导航 ---------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.logo { font-size: 19px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 36px; font-size: 14px; color: var(--ink-2); }
.nav-links a { transition: color .18s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: var(--accent); color: #fff; padding: 9px 22px; border-radius: 980px;
  font-size: 14px; font-weight: 500; transition: opacity .18s;
}
.nav-cta:hover { opacity: .9; }
.nav-burger { display: none; flex-direction: column; gap: 4px; padding: 8px; }
.nav-burger span { width: 20px; height: 1.5px; background: var(--ink); border-radius: 2px; }

/* ---------------- Hero（极简首屏） ---------------- */
.hero { padding: 96px 0 88px; position: relative; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0; background: #fff;
  transition: opacity .6s ease;
}
.hero-bg video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-bg .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.36) 55%, rgba(0,0,0,.5) 100%);
}
.hero .wrap { position: relative; z-index: 1; }

.hero-sound {
  position: absolute; right: 20px; bottom: 20px; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%;
  display: none; align-items: center; justify-content: center;
  background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.35);
  color: #fff; cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background .25s ease;
}
.hero-sound:hover { background: rgba(255,255,255,.3); }
.hero-sound svg { width: 20px; height: 20px; }
.hero-sound .ic-sound-on { display: none; }
.hero-sound.on .ic-sound-off { display: none; }
.hero-sound.on .ic-sound-on { display: block; }

.hero-copy { text-align: center; max-width: 780px; margin: 0 auto; }
.hero-eyebrow { font-size: 14px; font-weight: 500; color: var(--ink-2); letter-spacing: .04em; margin-bottom: 20px; }
.hero h1 {
  font-size: clamp(38px, 6vw, 72px); font-weight: 700; line-height: 1.08;
  letter-spacing: -.03em; color: var(--ink);
}
.hero h1 .em { color: var(--accent); }
.hero-sub {
  font-size: clamp(17px, 2vw, 21px); color: var(--ink-2); font-weight: 400;
  margin: 26px auto 0; line-height: 1.6; max-width: 40ch;
}
.hero-actions { display: flex; gap: 16px; margin-top: 40px; justify-content: center; flex-wrap: wrap; align-items: center; }
.hero-note { margin-top: 20px; font-size: 14px; color: var(--ink-3); }

/* 视频激活时文字转白 */
.hero.video-on .hero-eyebrow { color: rgba(255,255,255,.85); }
.hero.video-on h1 { color: #fff; }
.hero.video-on h1 .em { color: #fff; }
.hero.video-on .hero-sub { color: rgba(255,255,255,.88); }
.hero.video-on .hero-note { color: rgba(255,255,255,.7); }
.hero.video-on .btn-ghost { color: #fff; border-color: rgba(255,255,255,.6); }

/* 苹果风按钮 */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px; border-radius: 980px; font-size: 16px; font-weight: 500;
  transition: opacity .18s, background .18s, transform .18s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #0077ed; }
.btn-ghost { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.btn-ghost:hover { background: rgba(0, 113, 227, .05); }
.btn-block { width: 100%; justify-content: center; }

/* ---------------- 通用 section ---------------- */
.section { padding: 120px 0; }
.section.tint { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 80px; }
.section-head .kicker { font-size: 15px; font-weight: 500; color: var(--accent); margin-bottom: 16px; letter-spacing: .02em; }
.section-head h2 {
  font-size: clamp(32px, 4.4vw, 50px); font-weight: 700;
  letter-spacing: -.02em; line-height: 1.12; color: var(--ink);
}
.section-head p { font-size: 18px; color: var(--ink-2); margin-top: 20px; line-height: 1.65; }

/* ---------------- 核心能力（左右交替叙事卡） ---------------- */
.cap {
  display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center;
  margin-bottom: 96px;
}
.cap:last-child { margin-bottom: 0; }
.cap-tag {
  display: inline-block; font-size: 14px; font-weight: 600; color: var(--accent);
  letter-spacing: .02em; margin-bottom: 16px;
}
.cap h3 {
  font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; letter-spacing: -.02em;
  line-height: 1.18; color: var(--ink); margin-bottom: 20px;
}
.cap p { font-size: 17px; color: var(--ink-2); line-height: 1.7; max-width: 46ch; }

.cap-media { display: grid; place-items: center; }
.cap-media-card {
  width: clamp(150px, 17vw, 200px); aspect-ratio: 1 / 1; border-radius: 32px;
  background: var(--bg-alt);
  display: grid; place-items: center; color: var(--accent);
  position: relative; overflow: hidden; flex: none;
}
.cap-media-card .cap-icon {
  width: 58%; height: auto; aspect-ratio: 1 / 1;
  flex: none;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, .18));
  transition: transform .4s cubic-bezier(.2, .8, .3, 1);
}
.cap-media-card:hover .cap-icon { transform: translateY(-4px) scale(1.04); }
.cap-media-card .cap-wave { display: none; }

/* ---------------- 人生引擎（九宫格剧本） ---------------- */
.script-media { display: block; }
.script-hint {
  font-size: 13px; color: var(--ink-3); text-align: center;
  margin: 0 0 28px; letter-spacing: .01em;
}
.script-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.script-card {
  position: relative; aspect-ratio: 4/5; border-radius: 18px;
  overflow: hidden; cursor: zoom-in; background: #fff;
  box-shadow: 0 16px 40px -24px rgba(0,0,0,.22);
  display: flex; flex-direction: column;
}
.script-card img {
  width: 100%; flex: 1; min-height: 0; object-fit: cover; display: block;
  transition: transform .6s cubic-bezier(.2, .8, .3, 1);
}
.script-card:hover img { transform: scale(1.05); }
.script-card .sc-shade { display: none; }
.script-card .sc-tag {
  position: static; flex: none;
  height: 56px;
  padding: 0 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink); pointer-events: none;
  background: #fff; text-align: center;
}
.script-card .sc-status { font-size: 15px; font-weight: 600; letter-spacing: -.01em; line-height: 1.35; color: var(--ink); }

/* 具身世界感知（亮点条） */
.embody {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 48px;
}
.embody-item {
  background: var(--bg); border: 1px solid var(--line-soft); border-radius: 16px;
  padding: 22px 20px; display: flex; flex-direction: column; gap: 6px;
}
.embody-item b { font-size: 15px; font-weight: 600; color: var(--ink); }
.embody-item span { font-size: 13px; color: var(--ink-2); line-height: 1.5; }

/* 剧本放大浮层 */
.script-lb {
  position: fixed; inset: 0; z-index: 100; display: none;
  align-items: center; justify-content: center;
  background: rgba(0,0,0,.68); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding: 24px;
}
.script-lb.open { display: flex; }
.script-lb .lb-card {
  background: #fff; border-radius: 24px; overflow: hidden;
  width: min(920px, 100%); max-height: 90vh; display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 40px 120px -30px rgba(0,0,0,.5);
  animation: lbIn .28s ease-out;
}
@keyframes lbIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }
.script-lb .lb-media { position: relative; background: #000; overflow: hidden; min-height: 320px; }
.script-lb .lb-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.script-lb .lb-info { padding: 40px 36px; overflow-y: auto; display: flex; flex-direction: column; justify-content: center; }
.script-lb .lb-close {
  position: absolute; top: 20px; right: 24px; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.16); color: #fff; font-size: 20px; line-height: 1;
  display: grid; place-items: center; cursor: pointer; transition: background .2s;
}
.script-lb .lb-close:hover { background: rgba(255,255,255,.3); }
.script-lb .lb-eyebrow { font-size: 13px; font-weight: 500; color: var(--accent); margin-bottom: 8px; }
.script-lb .lb-title { font-size: 24px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); margin-bottom: 14px; }
.script-lb .lb-moment { font-size: 15px; color: var(--ink-2); line-height: 1.7; margin: 0; }

/* ---------------- 99 元体验 ---------------- */
.pricing .wrap { display: grid; place-items: center; }
.pricing-card {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center;
  background: var(--bg); border: 1px solid var(--line-soft); border-radius: 28px;
  padding: 64px 60px; max-width: 960px;
  box-shadow: 0 32px 80px -40px rgba(0,0,0,.24);
}
.pricing-left .kicker { font-size: 14px; font-weight: 600; color: var(--accent); letter-spacing: .02em; margin-bottom: 14px; }
.pricing-left h2 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; color: var(--ink); margin-bottom: 18px; }
.pricing-left p { font-size: 16px; color: var(--ink-2); line-height: 1.7; }
.pricing-steps { list-style: none; margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.pricing-steps li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.pricing-steps .n {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--bg-alt); color: var(--ink); display: grid; place-items: center; font-size: 13px; font-weight: 600;
}
.pricing-right {
  background: var(--bg-alt); border-radius: 20px; padding: 40px 32px;
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: 0;
}
.pricing-right .price { display: flex; align-items: baseline; justify-content: center; gap: 2px; }
.pricing-right .cur { font-size: 26px; font-weight: 600; color: var(--ink); }
.pricing-right .num { font-size: 80px; font-weight: 700; letter-spacing: -.04em; color: var(--ink); line-height: 1; }
.pricing-right .suffix { font-size: 18px; color: var(--ink-2); margin-left: 6px; }
.pricing-right .price-desc { font-size: 14px; color: var(--ink-2); margin: 16px 0 24px; }
.pricing-right .price-note { font-size: 12px; color: var(--ink-3); margin-top: 18px; line-height: 1.6; }

/* ---------------- 伦理声明 ---------------- */
.ethics {
  background: var(--bg-alt); border-radius: var(--radius); padding: 56px 48px;
  max-width: 860px; margin: 0 auto; text-align: center;
}
.ethics h3 { font-size: 26px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 16px; color: var(--ink); }
.ethics p { font-size: 16px; color: var(--ink-2); line-height: 1.8; }
.ethics p b { color: var(--ink); font-weight: 600; }

/* ---------------- 用户故事 ---------------- */
.marquee {
  overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee-scroll 48s linear infinite; }
.marquee-group { display: flex; gap: 20px; padding-right: 20px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track .story {
  width: 360px; flex: none;
  background: var(--bg); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 32px 28px; display: flex; flex-direction: column; gap: 20px;
}
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.story .quote { font-size: 17px; line-height: 1.65; font-weight: 400; color: var(--ink); }
.story .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.story .who .s-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--bg-alt); display: grid; place-items: center; font-weight: 500; color: var(--ink-2); }
.story .who .s-name { font-weight: 600; font-size: 14px; color: var(--ink); }
.story .who .s-meta { font-size: 12px; color: var(--ink-3); }

/* ---------------- FAQ ---------------- */
.faq-list { display: flex; flex-direction: column; gap: 4px; }
.faq { border-bottom: 1px solid var(--line-soft); padding: 4px 0; }
.faq summary {
  cursor: pointer; font-weight: 500; font-size: 17px; padding: 20px 0; list-style: none;
  display: flex; justify-content: space-between; align-items: center; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; font-weight: 300; color: var(--ink-3); transition: transform .2s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { font-size: 15px; color: var(--ink-2); line-height: 1.8; padding: 0 0 20px; max-width: 640px; }

/* ---------------- CTA ---------------- */
.cta { text-align: center; padding: 140px 0; }
.cta h2 { font-size: clamp(34px, 5vw, 52px); font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.cta p { font-size: 18px; color: var(--ink-2); margin: 18px auto 36px; max-width: 46ch; }
.cta .hero-actions { justify-content: center; margin-top: 0; }

/* ---------------- 页脚 ---------------- */
.footer { border-top: 1px solid var(--line-soft); padding: 56px 0 36px; background: var(--bg-alt); }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer .f-brand { max-width: 320px; }
.footer .f-brand .logo { margin-bottom: 14px; display: block; }
.footer .f-brand p { font-size: 13px; color: var(--ink-3); line-height: 1.7; }
.footer .f-col h4 { font-size: 13px; font-weight: 600; margin-bottom: 14px; color: var(--ink); }
.footer .f-col a { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 9px; }
.footer .f-col a:hover { color: var(--ink); }
.footer .f-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--ink-3); }

/* 二维码高亮提示 */
#fWechat.flash { animation: qr-flash 2s ease; }
@keyframes qr-flash {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,113,227,0); }
  20%, 60% { box-shadow: 0 0 0 6px rgba(0,113,227,.22); }
}

/* ---------------- 滚动显现动画 ---------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.cap.in:nth-child(2), .embody.in { transition-delay: 90ms; }
.script-card.reveal.in:nth-child(3n+2) { transition-delay: 60ms; }
.script-card.reveal.in:nth-child(3n+3) { transition-delay: 120ms; }
.faq-list .faq.in:nth-child(2) { transition-delay: 70ms; }
.faq-list .faq.in:nth-child(3) { transition-delay: 140ms; }
.faq-list .faq.in:nth-child(4) { transition-delay: 210ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; width: auto; flex-wrap: wrap; }
}

/* Hero 首屏时序入场 */
html.js .hero .hero-eyebrow,
html.js .hero h1,
html.js .hero .hero-sub,
html.js .hero .hero-actions {
  opacity: 0;
}
@media (prefers-reduced-motion: reduce) {
  html.js .hero .hero-eyebrow,
  html.js .hero h1,
  html.js .hero .hero-sub,
  html.js .hero .hero-actions { opacity: 1; }
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 960px) {
  .cap { grid-template-columns: auto 1fr; gap: 24px; margin-bottom: 64px; text-align: left; }
  .cap-media { justify-self: start; }
  .cap-media-card { width: 96px; }
  .cap-copy p { margin: 0; }
  .pricing-card { grid-template-columns: 1fr; gap: 36px; padding: 48px 32px; }
  .script-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .embody { grid-template-columns: repeat(2, 1fr); }
  .script-lb .lb-card { grid-template-columns: 1fr; max-width: 440px; }
  .script-lb .lb-media { min-height: 0; height: 42vh; }
}

@media (max-width: 560px) {
  .cap { gap: 16px; }
  .cap-media-card { width: 72px; border-radius: 20px; }
  .cap h3 { font-size: 22px; }
  .cap p { font-size: 15px; }
}

@media (max-width: 767px) {
  .section { padding: 80px 0; }
  .hero { padding: 64px 0 64px; }
  .hero-bg { position: relative; inset: auto; aspect-ratio: 16/9; height: auto; background: #000; }
  .hero-bg video { width: 100%; height: 100%; }
  .hero-bg .overlay { background: linear-gradient(180deg, rgba(0,0,0,.22) 0%, rgba(0,0,0,0) 26%, rgba(0,0,0,0) 74%, rgba(0,0,0,.28) 100%); }
  .hero-sound { top: 12px; right: 12px; bottom: auto; }
  .hero.video-on .hero-eyebrow { color: var(--ink-2); }
  .hero.video-on h1 { color: var(--ink); }
  .hero.video-on h1 .em { color: var(--accent); }
  .hero.video-on .hero-sub { color: var(--ink-2); }
  .hero.video-on .hero-note { color: var(--ink-3); }
  .hero.video-on .btn-ghost { color: var(--accent); border-color: var(--accent); }
  .hero-copy { text-align: center; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .hero h1 { font-size: 34px; }
  .script-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .script-card .sc-tag { height: 44px; padding: 0 8px; }
  .script-card .sc-status { font-size: 12px; }
  .embody { grid-template-columns: 1fr; }
  .marquee-track .story { width: 300px; }
}
