/* ============================================================
   莹领信息 · AI 视频接单 首页
   设计系统沿用 entrocal 研究稿提取的令牌：
   暖纸白 + 深青黑 + 淡青点缀，发丝线，等宽字 eyebrow，流式字号。
   零依赖、零构建：改文案直接编辑 index.html，改样式改这里。
   ============================================================ */

:root {
  --ink: #071014;            /* 近黑正文 */
  --deep: #05171b;           /* 深青黑：首屏与页脚 */
  --paper: #f1efe9;          /* 暖纸白：内容区底色 */
  --mint: #eef4ec;           /* 淡薄荷：报价区变奏 */
  --cyan: #a9edf0;           /* 淡青：点缀 */
  --line: rgba(7,16,20,.17); /* 发丝线（浅底） */
  --line-dark: rgba(255,255,255,.2); /* 发丝线（深底） */
  --muted: #536062;          /* 次要文字 */
  --muted-dark: rgba(241,239,233,.66);
  --gutter: clamp(20px,4vw,64px);
  --header: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior:smooth; }
html, body { margin:0; background:var(--paper); color:var(--ink);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Helvetica Neue",Arial,sans-serif; }

/* ---------- 排版基座 ---------- */
.eyebrow { display:block; margin:0 0 20px;
  font:650 11px/1.5 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  letter-spacing:.08em; color:var(--ink); }
.eyebrow-light { color:var(--cyan); }
.display { margin:0; font-size:clamp(32px,4.2vw,62px); line-height:1.15;
  font-weight:500; letter-spacing:-.035em; }
.lead { font-size:clamp(16px,1.4vw,19px); line-height:1.75; color:var(--muted);
  max-width:680px; margin:26px 0 0; }
.s-hero .lead, .s-contact .lead { color:var(--muted-dark); }
.s-hero .lead { margin-left:auto; margin-right:auto; text-align:center; }

a { color:inherit; }

/* ---------- 通用区块 ---------- */
.section { padding:clamp(64px,7.5vw,112px) var(--gutter); }
.section-inner { width:100%; max-width:1336px; margin:0 auto; }
.notch { background:var(--paper); }
.s-hero { background:var(--deep); color:var(--paper); text-align:center;
  padding-top:calc(var(--header) + clamp(64px,8vw,120px)); }
.s-contact { background:var(--deep); color:var(--paper); }

.editorial-heading { max-width:900px; }
.editorial-heading .display { max-width:640px; }

/* 滚动入场（main.js 里有降级：不支持时直接显示） */
.reveal { opacity:0; transform:translateY(18px); transition:opacity .7s ease,transform .7s ease; }
.reveal.is-in { opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity:1; transform:none; transition:none; }
  html { scroll-behavior:auto; }
}

/* ---------- 顶部导航 ---------- */
.skip-link { position:absolute; left:-9999px; }
.skip-link:focus { left:12px; top:12px; z-index:99; background:var(--paper);
  padding:10px 16px; border:1px solid var(--ink); }

.site-header { position:fixed; z-index:80; inset:0 0 auto 0; min-height:var(--header);
  padding:12px var(--gutter); display:grid; grid-template-columns:1fr auto 1fr;
  gap:24px; align-items:center;
  color:var(--paper); background:rgba(5,23,27,.72);
  border-bottom:1px solid var(--line-dark); backdrop-filter:blur(12px); }

.brand { justify-self:start; font-weight:700; font-size:20px; letter-spacing:.02em;
  text-decoration:none; display:flex; align-items:baseline; gap:8px; }
.brand span { font:650 11px/1 ui-monospace,Menlo,monospace; letter-spacing:.08em;
  color:var(--cyan); }

.header-nav { display:flex; gap:28px; font-size:14px; }
.header-nav a { text-decoration:none; opacity:.85; }
.header-nav a:hover { opacity:1; }

.header-actions { justify-self:end; display:flex; align-items:center; gap:14px; }

.pill { display:inline-block; border:1px solid currentColor; border-radius:30px;
  padding:11px 20px; white-space:nowrap; font-size:13px; text-decoration:none; }
.pill:hover { background:var(--ink); color:var(--paper); border-color:var(--ink); }
.s-pricing .pill:hover { background:var(--ink); color:var(--paper); }

/* ---------- HERO（全幅视频背景 + 文字叠底） ---------- */
.s-hero { position:relative; /* 作为 .hero-bg 的定位锚点，overflow 才裁得住它 */
  min-height:100svh; display:flex; align-items:center; justify-content:center;
  padding:calc(var(--header) + 40px) var(--gutter) 72px;
  overflow:hidden; /* 裁掉视差时视频下沿溢出，别盖住下一区的标题 */ }
.hero-inner { max-width:880px; margin:0 auto; position:relative; z-index:1; }

/* 视频背景层：上下各多留 8%，给视差滚动腾出位移空间 */
.hero-bg { position:absolute; inset:-8% 0; z-index:0; overflow:hidden;
  will-change:transform; }
.hero-bg video { width:100%; height:100%; object-fit:cover; display:block; }
/* 压暗渐变：保证上下文字对比度（上压导航、下压标签） */
.hero-bg::after { content:""; position:absolute; inset:0;
  background:linear-gradient(180deg,
    rgba(5,23,27,.62) 0%, rgba(5,23,27,.30) 42%,
    rgba(5,23,27,.55) 78%, rgba(5,23,27,.85) 100%); }

/* 视频角落的出处标注（诚信红线做成设计语言） */
.hero-tag { position:absolute; right:var(--gutter); bottom:16px; z-index:1;
  font:650 10px/1.5 ui-monospace,Menlo,monospace; letter-spacing:.08em;
  color:rgba(241,239,233,.55); }

/* 首屏入场编排：眉标→大标→副文→按钮 依次浮起 */
@keyframes rise { from { opacity:0; transform:translateY(22px); } to { opacity:1; transform:none; } }
.s-hero .eyebrow, .s-hero .display, .s-hero .lead,
.hero-cta { animation:rise .8s cubic-bezier(.2,.6,.2,1) both; }
.s-hero .eyebrow  { animation-delay:.05s; }
.s-hero .display  { animation-delay:.15s; }
.s-hero .lead     { animation-delay:.30s; }
.hero-cta         { animation-delay:.45s; }

/* 顶部阅读进度细线 */
.progress { position:fixed; top:0; left:0; height:2px; width:0;
  background:var(--cyan); z-index:90; }

/* 页眉滚动后变实 */
.site-header.is-solid { background:rgba(5,23,27,.95);
  box-shadow:0 1px 0 rgba(255,255,255,.06); }

/* 卡片微交互（仅支持 hover 的设备） */
@media (hover:hover) {
  .sample-card, .price-card { transition:transform .35s ease, box-shadow .35s ease; }
  .sample-card:hover, .price-card:hover { transform:translateY(-4px);
    box-shadow:0 18px 44px -18px rgba(7,16,20,.28); }
}

/* 网格内卡片入场依次错开 */
.sample-grid .reveal:nth-child(2) { transition-delay:.08s; }
.sample-grid .reveal:nth-child(3) { transition-delay:.16s; }
.price-grid  .reveal:nth-child(2) { transition-delay:.08s; }
.price-grid  .reveal:nth-child(3) { transition-delay:.16s; }

/* 动效总降级：用户开启"减少动态"时全部关闭 */
@media (prefers-reduced-motion: reduce) {
  .s-hero .eyebrow, .s-hero .display, .s-hero .lead,
  .hero-cta { animation:none; }
  .sample-grid .reveal:nth-child(2), .sample-grid .reveal:nth-child(3),
  .price-grid .reveal:nth-child(2), .price-grid .reveal:nth-child(3) { transition-delay:0s; }
  .sample-card, .price-card { transition:none; }
}
.hero-cta { display:flex; gap:14px; justify-content:center; margin:34px 0 0; flex-wrap:wrap; }
.cta-solid, .cta-ghost { display:inline-block; min-height:48px; padding:13px 30px;
  border-radius:28px; font-size:14px; text-decoration:none; }
.cta-solid { background:var(--paper); color:var(--deep); font-weight:600; }
.cta-solid:hover { background:var(--cyan); }
.cta-ghost { border:1px solid var(--line-dark); color:var(--paper); }
.cta-ghost:hover { border-color:var(--paper); }

.hero-media { margin:clamp(40px,6vw,72px) auto 0; max-width:880px; }

/* ---------- 占位符体系（素材到位后替换） ----------
   用法：视频位保留 <div class="ph ph-video">，把内部换成
   <video src="..." muted loop playsinline></video> 即可；图片位同理。 */
.ph { display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:6px; border:1px dashed rgba(255,255,255,.45); border-radius:6px;
  background:rgba(255,255,255,.04); color:var(--cyan);
  font:650 12px/1.6 ui-monospace,Menlo,monospace; letter-spacing:.06em;
  text-align:center; padding:20px; }
.ph small { font-weight:500; color:var(--muted-dark); letter-spacing:.02em; }
.ph-video { aspect-ratio:16/9; }
.ph-tall { aspect-ratio:9/16; }
.ph-qr { aspect-ratio:1/1; }

/* 浅底区块里的占位符换深色系 */
.s-samples .ph, .s-contact + * .ph { }
.sample-card .ph { border-color:rgba(7,16,20,.3); background:rgba(7,16,20,.03); color:var(--muted); }
.sample-card .ph small { color:var(--muted); }
.contact-card .ph { border-color:rgba(255,255,255,.45); }

/* ---------- 样片区 ---------- */
.s-samples { background:var(--paper); }
/* 样片区两行：第一行 3 条竖版（各占 2 格），第二行 2 条横版（各占 3 格）；手机上全部单列 */
.sample-grid { display:grid; grid-template-columns:repeat(6,1fr); gap:clamp(18px,2vw,28px);
  margin-top:clamp(36px,5vw,64px); align-items:start; }
.sample-grid .span-2 { grid-column:span 2; }
.sample-grid .span-3 { grid-column:span 3; }
.sample-card { border:1px solid var(--line); background:#f7f5f0;
  display:flex; flex-direction:column; min-width:0; }
.sample-card .ph { border-radius:0; border-width:0 0 1px 0; }
/* 真实样片视频位：tall=竖版 9:16，wide=横版 16:9；点视频开/关声音 */
.sample-media { position:relative; overflow:hidden; border-bottom:1px solid var(--line);
  background:var(--deep); }
.sample-media video { width:100%; height:100%; object-fit:cover; display:block;
  cursor:pointer; touch-action:manipulation; /* 让双击走全屏而不是页面缩放 */ }
/* 全屏时完整显示整幅画面：竖版在横屏上两侧留黑边，而不是裁到只剩中间一块 */
.sample-media video:fullscreen { object-fit:contain; background:#000; }
.sample-media video:-webkit-full-screen { object-fit:contain; background:#000; }
.sample-media.tall { aspect-ratio:9/16; }
.sample-media.wide { aspect-ratio:16/9; }
/* 声音开关角标（点击视频本体切换，角标只做提示） */
.sound-chip { position:absolute; left:10px; bottom:10px; z-index:1; pointer-events:none;
  font:650 10px/1 ui-monospace,Menlo,monospace; letter-spacing:.08em;
  color:var(--paper); background:rgba(5,23,27,.62); padding:6px 9px; border-radius:3px; }
.sample-media.is-sound .sound-chip { color:var(--deep); background:var(--cyan); }
/* 比例/时长标注行 */
.sample-spec { margin:0; font:650 11px/1.5 ui-monospace,Menlo,monospace;
  letter-spacing:.08em; color:var(--muted); }
.sample-body { padding:22px 22px 26px; display:flex; flex-direction:column; gap:10px; }
.sample-body h3 { margin:2px 0 0; font-size:22px; line-height:1.25; font-weight:600;
  letter-spacing:-.02em; }
.sample-body p { margin:0; font-size:14px; line-height:1.7; color:var(--muted); }

.badge { align-self:flex-start; font:650 10px/1.4 ui-monospace,Menlo,monospace;
  letter-spacing:.08em; color:var(--deep); background:var(--cyan);
  padding:5px 10px; border-radius:3px; }

/* 出处/诚信说明：entrocal 式诚实标注 */
.provenance { margin:clamp(28px,3vw,40px) 0 0; font:500 12px/1.7 ui-monospace,Menlo,monospace;
  letter-spacing:.04em; color:var(--muted); border-top:1px solid var(--line);
  padding-top:18px; }
.provenance-light { color:var(--muted-dark); border-color:var(--line-dark); }

/* ---------- 流程区 ---------- */
.process-list { list-style:none; margin:clamp(36px,5vw,56px) 0 0; padding:0;
  display:grid; grid-template-columns:repeat(4,1fr); gap:0; }
.process-item { padding:26px 26px 30px 0; border-top:1px solid var(--line); margin-right:26px; }
.process-item:last-child { margin-right:0; }
.step-no { display:block; margin:0 0 18px;
  font:650 11px/1.5 ui-monospace,Menlo,monospace; letter-spacing:.08em; color:var(--muted); }
.process-item h3 { margin:0 0 12px; font-size:21px; line-height:1.3; font-weight:600;
  letter-spacing:-.02em; }
.process-item p { margin:0; font-size:14px; line-height:1.75; color:var(--muted); }

/* ---------- 报价区 ---------- */
.s-pricing { background:var(--mint); }
.price-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(18px,2vw,28px);
  margin-top:clamp(36px,5vw,64px); }
.price-card { border:1px solid var(--line); background:var(--paper);
  padding:26px 26px 28px; display:flex; flex-direction:column; min-width:0; }
.price-card.is-featured { border:2px solid var(--ink); }
.card-top { display:flex; align-items:baseline; justify-content:space-between;
  border-bottom:1px solid var(--line); padding-bottom:16px; }
.card-top span:first-child { font-size:44px; font-weight:600; letter-spacing:-.03em; }
.card-top span:first-child::before { content:"¥"; font-size:20px; font-weight:500;
  margin-right:2px; color:var(--muted); }
.card-top span:last-child { font:650 11px/1.5 ui-monospace,Menlo,monospace;
  letter-spacing:.08em; color:var(--muted); }
.price-card h3 { margin:20px 0 14px; font-size:20px; font-weight:600; letter-spacing:-.02em; }
.price-card ul { list-style:none; margin:0 0 24px; padding:0;
  display:flex; flex-direction:column; gap:9px; }
.price-card li { font-size:14px; line-height:1.6; color:var(--muted);
  padding-left:18px; position:relative; }
.price-card li::before { content:"—"; position:absolute; left:0; color:var(--cyan); }
.price-card .pill { align-self:flex-start; margin-top:auto; }

/* ---------- FAQ ---------- */
.faq-grid { max-width:1336px; margin:0 auto; display:grid;
  grid-template-columns:minmax(0,.55fr) minmax(0,1fr); gap:clamp(36px,6vw,92px);
  align-items:start; }
.faq-heading { margin-bottom:clamp(28px,4vw,44px); }
.faq-panels details { border-top:1px solid var(--line); }
.faq-panels details:last-child { border-bottom:1px solid var(--line); }
.faq-panels summary { cursor:pointer; list-style:none; display:flex;
  align-items:center; justify-content:space-between; gap:16px;
  padding:20px 4px; font-size:17px; font-weight:600; letter-spacing:-.01em; }
.faq-panels summary::-webkit-details-marker { display:none; }
.faq-panels summary::after { content:"+"; font:400 22px/1 ui-monospace,Menlo,monospace;
  color:var(--muted); transition:transform .25s ease; }
.faq-panels details[open] summary::after { transform:rotate(45deg); }
.faq-panels details p { margin:0; padding:0 4px 22px; font-size:15px;
  line-height:1.8; color:var(--muted); max-width:680px; }

/* ---------- 联系区 ---------- */
.contact-grid { max-width:1336px; margin:0 auto; display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); gap:clamp(36px,6vw,92px);
  align-items:start; }
.contact-template { list-style:none; margin:26px 0 0; padding:0; display:flex;
  flex-direction:column; gap:14px; }
.contact-template li { display:flex; align-items:center; gap:14px;
  border:1px solid var(--line-dark); border-radius:8px; padding:14px 18px;
  font-size:15px; line-height:1.6; }
.contact-template span { flex:none; width:28px; height:28px; border-radius:50%;
  border:1px solid var(--cyan); color:var(--cyan); display:grid; place-items:center;
  font:650 12px/1 ui-monospace,Menlo,monospace; }
.contact-cards { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.contact-card { border:1px solid var(--line-dark); border-radius:10px;
  padding:20px; display:flex; flex-direction:column; gap:10px; }
.contact-card b { font-size:17px; letter-spacing:-.01em; }
.contact-card p { margin:0; font-size:13px; line-height:1.7; color:var(--muted-dark); }
.contact-card .ph { border-radius:6px; }
.s-contact .provenance-light { max-width:1336px; margin-left:auto; margin-right:auto;
  margin-top:clamp(36px,5vw,56px); }

/* ---------- 页脚 ---------- */
.s-footer { background:var(--deep); color:var(--paper);
  padding:clamp(64px,7.5vw,112px) var(--gutter) 40px; }
.footer-inner { max-width:1336px; margin:0 auto; }
.footer-header { display:flex; align-items:flex-end; justify-content:space-between;
  gap:32px; flex-wrap:wrap; }
.footer-header h2 { margin:0; font-size:clamp(26px,2.6vw,40px); line-height:1.2;
  font-weight:500; letter-spacing:-.03em; }
.brand-light { color:var(--paper); }
.footer-bottom { margin-top:clamp(40px,5vw,64px); border-top:1px solid var(--line-dark);
  padding-top:24px; display:flex; justify-content:space-between; gap:24px; flex-wrap:wrap; }
.footer-statement { font-size:15px; font-weight:600; letter-spacing:-.01em; }
.footer-meta { font:500 11px/1.7 ui-monospace,Menlo,monospace; letter-spacing:.04em;
  color:var(--muted-dark); max-width:560px; }
/* 公司信息行：版权 / 地址 / 备案号 */
.footer-legal { margin-top:18px; display:flex; flex-wrap:wrap; gap:4px 28px; align-items:baseline;
  font:500 11px/1.7 ui-monospace,Menlo,monospace; letter-spacing:.04em; color:var(--muted-dark); }
.footer-legal a { color:inherit; text-decoration:underline; text-underline-offset:3px; }
.footer-legal a:hover { color:var(--paper); }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .process-list { grid-template-columns:1fr 1fr; }
  .process-item { margin-right:0; padding-right:0; }
  .process-item:nth-child(odd) { margin-right:26px; }
}

@media (max-width: 820px) {
  .header-nav { display:none; }
  .site-header { grid-template-columns:1fr auto; }
  .sample-grid, .price-grid { grid-template-columns:1fr; }
  .sample-grid .span-2, .sample-grid .span-3 { grid-column:auto; }
  .contact-grid, .faq-grid { grid-template-columns:1fr; }
  .contact-cards { max-width:420px; }
  .process-list { grid-template-columns:1fr; }
  .process-item { border-top:1px solid var(--line); padding:22px 0 26px; }
  .process-item:nth-child(odd) { margin-right:0; }
  .process-item:first-child { border-top:none; padding-top:0; }
  /* 手机首屏：取景兼顾香水瓶+人物，瓶子在约50%处，脸在约70%处 */
  .hero-bg video { object-position:60% 50%; }
  .hero-bg::after { background:linear-gradient(180deg,
    rgba(5,23,27,.62) 0%, rgba(5,23,27,.42) 45%,
    rgba(5,23,27,.55) 78%, rgba(5,23,27,.85) 100%); }
}

@media (max-width: 480px) {
  .s-hero .lead br { display:none; }
  .footer-header { flex-direction:column; align-items:flex-start; }
}
