/* ============================================================
   星研智能 StarResearch — 官网共享样式
   Apple 极简风格 · 零金色 · 单一品牌蓝 #0066CC
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --line: #d2d2d7;
  --blue: #0066cc;
  --blue-2: #0077ed;
  --footer-bg: #1d1d1f;
  --footer-line: #424245;
  --radius: 18px;
  --maxw: 980px;
  --maxw-nav: 1024px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  background: var(--bg); color: var(--ink);
  font-size: 17px; line-height: 1.47; letter-spacing: 0;
}
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

/* ===== Nav (frosted) ===== */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 48px; max-width: var(--maxw-nav); margin: 0 auto; padding: 0 22px; }
.nav-logo img { height: 22px; display: block; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { color: var(--ink); font-size: 14px; opacity: 0.85; letter-spacing: -0.01em; }
.nav-links a:hover { opacity: 1; text-decoration: none; color: var(--ink); }
.nav-cta { color: var(--blue) !important; font-size: 14px; }
.nav-cta::after { content: " ›"; }
/* 语言切换（中/EN）：沿用导航文字链接，加胶囊描边增强可点击性 */
#langToggle { border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: 13px; opacity: 1; white-space: nowrap; }
#langToggle:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }
@media (max-width: 760px) { #langToggle { display: inline-block; margin: 6px 0 2px; } }
.nav-burger { display: none; background: none; border: 0; cursor: pointer; width: 24px; height: 24px; }
.nav-burger span { display: block; height: 1.5px; background: var(--ink); margin: 5px 0; }
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .nav-links.open { display: flex; position: absolute; top: 48px; left: 0; right: 0; flex-direction: column; gap: 0; background: rgba(255,255,255,0.96); border-bottom: 1px solid var(--line); padding: 8px 22px 16px; }
  .nav-links.open a { padding: 10px 0; font-size: 16px; }
}

/* ===== Hero ===== */
.hero { padding: 110px 0 90px; text-align: center; background: var(--bg); }
.hero .label { font-size: 14px; letter-spacing: .14em; color: var(--ink-2); margin-bottom: 14px; font-weight: 500; }
.hero h1 { font-size: 64px; line-height: 1.07; letter-spacing: -0.022em; font-weight: 600; color: var(--ink); }
.hero .sub { font-size: 21px; line-height: 1.4; letter-spacing: .007em; color: var(--ink-2); max-width: 720px; margin: 18px auto 6px; font-weight: 400; }
.hero .sub-en { font-size: 15px; letter-spacing: .01em; color: var(--ink-3); margin-bottom: 32px; }
.hero .ctas { display: flex; gap: 32px; justify-content: center; }
.cta-link { color: var(--blue); font-size: 17px; letter-spacing: -0.01em; }
.cta-link::after { content: " ›"; font-weight: 400; }
.cta-link:hover { text-decoration: underline; }
@media (max-width: 640px) { .hero { padding: 80px 0 60px; } .hero h1 { font-size: 44px; } .hero .sub { font-size: 18px; } .hero .ctas { flex-direction: column; gap: 12px; } }

/* ===== Stats band ===== */
.stats { background: var(--bg-alt); padding: 64px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat .num { font-size: 40px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); line-height: 1.1; }
.stat .num .blue { color: var(--blue); }
.stat .desc { font-size: 14px; color: var(--ink-2); margin-top: 8px; line-height: 1.4; }
@media (max-width: 760px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; } .stat .num { font-size: 34px; } }

/* ===== Product feature sections ===== */
.feature { padding: 100px 0; background: var(--bg); }
.feature.alt { background: var(--bg-alt); }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.feature.reverse .text-col { order: 2; }
.feature .label { font-size: 14px; letter-spacing: .12em; color: var(--ink-2); margin-bottom: 10px; font-weight: 500; }
.feature h2 { font-size: 48px; line-height: 1.1; letter-spacing: -0.018em; font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.feature p { font-size: 19px; line-height: 1.5; letter-spacing: .007em; color: var(--ink-2); margin-bottom: 24px; max-width: 440px; }
.visual-col { background: #fff; border-radius: var(--radius); aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; color: var(--ink-3); box-shadow: 0 1px 3px rgba(0,0,0,0.04); border: 1px solid var(--line); overflow: hidden; }
.feature.alt .visual-col { background: #fff; }
.visual-col .placeholder { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.visual-col .placeholder .tag { font-size: 11px; letter-spacing: .2em; color: var(--ink-3); }
.visual-col .placeholder .icon { width: 64px; height: 64px; border-radius: 16px; background: var(--bg-alt); display: flex; align-items: center; justify-content: center; }
.visual-col .placeholder .icon svg { width: 34px; height: 34px; stroke: var(--blue); fill: none; stroke-width: 1.6; }
.visual-col img { width: 100%; height: 100%; object-fit: cover; }
.visual-col .visual-shot { width: 100%; height: 100%; object-fit: cover; display: block; }
.visual-col--phone { aspect-ratio: 9 / 16; max-width: 300px; margin-inline: auto; }
.layout-split .visual-col--phone { max-width: 300px; }
.visual-col--phone .visual-shot { object-fit: contain; background: #fff; }
@media (max-width: 820px) { .feature-grid { grid-template-columns: 1fr; gap: 36px; } .feature.reverse .text-col { order: 0; } .feature h2 { font-size: 36px; } .feature p { font-size: 17px; max-width: 100%; } }

/* ===== Section head ===== */
.section-head { text-align: center; margin-bottom: 56px; }
.section-head .label { font-size: 14px; letter-spacing: .12em; color: var(--ink-2); margin-bottom: 10px; font-weight: 500; }
.section-head h2 { font-size: 48px; line-height: 1.1; letter-spacing: -0.018em; font-weight: 600; color: var(--ink); }
.section-head p { font-size: 19px; color: var(--ink-2); margin-top: 12px; max-width: 620px; margin-left: auto; margin-right: auto; }
@media (max-width: 820px) { .section-head h2 { font-size: 36px; } }

/* ===== Capabilities ===== */
.caps { background: var(--bg-alt); padding: 110px 0; }
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 820px) { .cap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .cap-grid { grid-template-columns: 1fr; } }
.cap { background: #fff; border-radius: var(--radius); padding: 40px 32px; transition: transform .25s ease; border: 1px solid var(--line); }
.cap:hover { transform: translateY(-2px); }
.cap h3 { font-size: 22px; font-weight: 600; margin-bottom: 10px; letter-spacing: -.01em; }
.cap p { font-size: 15px; line-height: 1.5; color: var(--ink-2); }

/* ===== Process ===== */
.process { padding: 110px 0; background: var(--bg); }
.proc { display: flex; justify-content: space-between; max-width: 920px; margin: 0 auto; position: relative; }
.proc::before { content: ""; position: absolute; top: 18px; left: 8%; right: 8%; height: 1px; background: var(--line); }
.p-step { text-align: center; flex: 1; position: relative; }
.p-step .dot { width: 36px; height: 36px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 13px; color: var(--ink-2); font-weight: 500; }
.p-step h4 { font-size: 17px; font-weight: 600; margin-bottom: 4px; letter-spacing: -.005em; }
.p-step p { font-size: 13px; color: var(--ink-2); }
@media (max-width: 760px) { .proc { flex-wrap: wrap; gap: 30px; } .proc::before { display: none; } .p-step { flex: 1 1 45%; } }

/* ===== About ===== */
.about { background: var(--bg-alt); padding: 110px 0; }
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: start; }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }
.about .label { font-size: 14px; letter-spacing: .12em; color: var(--ink-2); margin-bottom: 10px; font-weight: 500; }
.about h2 { font-size: 40px; line-height: 1.15; letter-spacing: -0.018em; font-weight: 600; color: var(--ink); margin-bottom: 20px; }
.about p { font-size: 17px; line-height: 1.5; color: var(--ink-2); margin-bottom: 14px; }
.about .info { font-size: 14px; line-height: 2; color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px; }
.about .info div { margin-bottom: 10px; }
.about .info b { color: var(--ink); font-weight: 500; display: inline-block; min-width: 84px; }

/* ===== Contact CTA ===== */
.cta { padding: 120px 0 80px; background: var(--bg); text-align: center; }
.cta .label { font-size: 14px; letter-spacing: .12em; color: var(--ink-2); margin-bottom: 10px; font-weight: 500; }
.cta h2 { font-size: 48px; line-height: 1.1; letter-spacing: -0.022em; font-weight: 600; color: var(--ink); }
.cta .sub { font-size: 19px; color: var(--ink-2); margin: 14px 0 28px; }
.cta .email { font-size: 21px; color: var(--blue); letter-spacing: -0.005em; }
.cta .email::after { content: " ›"; }
.qr-block { display: inline-flex; align-items: center; gap: 18px; background: var(--bg-alt); padding: 22px 28px; border-radius: var(--radius); margin-top: 56px; text-align: left; }
.qr-block img { width: 96px; height: 96px; border-radius: 10px; display: block; }
.qr-block .qr-text h4 { font-size: 17px; font-weight: 600; margin-bottom: 4px; letter-spacing: -.005em; }
.qr-block .qr-text p { font-size: 13px; color: var(--ink-2); line-height: 1.5; }
@media (max-width: 640px) { .cta h2 { font-size: 36px; } .qr-block { flex-direction: column; text-align: center; } }

/* ===== Footer ===== */
footer { background: var(--footer-bg); color: #f5f5f7; padding: 50px 0 30px; font-size: 12px; line-height: 1.5; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.4fr; gap: 40px; max-width: var(--maxw-nav); margin: 0 auto; padding: 0 22px 36px; border-bottom: 1px solid var(--footer-line); }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.foot-grid h5 { font-size: 13px; font-weight: 600; margin-bottom: 12px; color: #f5f5f7; }
.foot-grid a, .foot-grid p { color: #f5f5f7; opacity: 0.65; font-size: 12px; display: block; margin-bottom: 8px; }
.foot-grid a:hover { opacity: 1; text-decoration: none; }
.foot-bottom { max-width: var(--maxw-nav); margin: 0 auto; padding: 20px 22px 0; color: #86868b; font-size: 12px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.foot-bottom .legal a { color: #86868b; margin-right: 14px; }
.foot-bottom .legal a:hover { color: #f5f5f7; text-decoration: none; }

/* ===== Generic page hero (subpages) ===== */
.page-hero { padding: 96px 0 64px; text-align: center; background: var(--bg); }
.page-hero .label { font-size: 14px; letter-spacing: .14em; color: var(--ink-2); margin-bottom: 12px; font-weight: 500; }
.page-hero h1 { font-size: 52px; line-height: 1.08; letter-spacing: -0.022em; font-weight: 600; }
.page-hero p { font-size: 20px; color: var(--ink-2); max-width: 680px; margin: 16px auto 0; }

/* ===== Feature list (subpages) ===== */
.flist { padding: 90px 0; background: var(--bg-alt); }
.flist-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 760px) { .flist-grid { grid-template-columns: 1fr; } }
.fcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 32px; }
.fcard .ico { width: 48px; height: 48px; border-radius: 12px; background: var(--bg-alt); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.fcard .ico svg { width: 26px; height: 26px; stroke: var(--blue); fill: none; stroke-width: 1.6; }
.fcard h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; letter-spacing: -.01em; }
.fcard p { font-size: 15px; line-height: 1.5; color: var(--ink-2); }

/* ===== Contact form ===== */
.form-wrap { max-width: 560px; margin: 0 auto; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 14px; color: var(--ink-2); margin-bottom: 8px; }
.field input, .field textarea { width: 100%; padding: 14px 16px; font-size: 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font-family: inherit; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); }
.submit-btn { display: inline-block; background: var(--blue); color: #fff; border: 0; border-radius: 12px; padding: 14px 32px; font-size: 16px; cursor: pointer; letter-spacing: -.01em; }
.submit-btn:hover { background: var(--blue-2); text-decoration: none; }
.form-note { font-size: 13px; color: var(--ink-3); margin-top: 16px; text-align: center; }

/* ===== Solution anchors ===== */
.sol-block { padding: 90px 0; border-bottom: 1px solid var(--line); }
.sol-block:last-child { border-bottom: 0; }
.sol-block.alt { background: var(--bg-alt); }
.sol-block h2 { font-size: 36px; letter-spacing: -0.018em; font-weight: 600; margin-bottom: 14px; }
.sol-block p { font-size: 18px; color: var(--ink-2); max-width: 680px; line-height: 1.5; }
.sol-block .tag-row { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.sol-block .tag { font-size: 13px; color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; }

/* === 全屏弹性模块 (v2) === */

/* ---- 1. 令牌补充（追加，不覆盖现网既有令牌） ---- */
:root {
  --screen-min-h: 100dvh;            /* S3 动态视口，禁裸 vh */
  --screen-pad-block: 10dvh;         /* S4 上下各 ≥10% 视口高 */
  --screen-pad-inline: 22px;         /* S4 左右沿用现状 */
  --maxw-screen: 1120px;             /* S4 Hero / 产品总览放宽 */
  --nav-h: 48px;                     /* 吸顶导航高，用于 scroll-padding */
  --h1: clamp(44px, 5.6vw, 80px);    /* F6 H1 72–80，移动回落 */
  --h2: clamp(34px, 4.2vw, 56px);    /* F6 H2 56，移动回落 */
  --reveal-shift: 12px;              /* N5 上移位移 */
  --reveal-dur: 380ms;               /* N5 ≤400ms */
}

/* ---- 2. 滚动行为（N6 落点避开 48px 吸顶导航） ---- */
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

/* ---- 3. 整屏容器 .screen（S2/S3/S4/S7） ---- */
.screen {
  position: relative;
  min-height: var(--screen-min-h);
  display: flex;
  flex-direction: column;
  padding-block: var(--screen-pad-block);
  padding-inline: var(--screen-pad-inline);
  background: var(--bg);
  scroll-margin-top: var(--nav-h);
}
.screen--white { background: var(--bg); }
.screen--gray  { background: var(--bg-alt); }
/* 首屏需扣除吸顶导航占位，避免首屏出现 48px 溢出 */
.screen--hero { min-height: calc(var(--screen-min-h) - var(--nav-h)); }
.screen .wrap {
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
  padding: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.screen--hero .wrap,
.screen--overview .wrap { max-width: var(--maxw-screen); }

/* ---- 4. 屏内文字层级（F6） ---- */
.screen h1 { font-size: var(--h1); line-height: 1.06; letter-spacing: -0.022em; font-weight: 600; color: var(--ink); }
.screen h2 { font-size: var(--h2); line-height: 1.1; letter-spacing: -0.018em; font-weight: 600; color: var(--ink); }
.screen .label { font-size: 14px; letter-spacing: .12em; color: var(--ink-2); font-weight: 500; margin-bottom: 12px; }
.screen .sub-line { font-size: 21px; line-height: 1.4; letter-spacing: .007em; color: var(--ink-2); margin-top: 10px; }
.screen .sub-en { font-size: 15px; letter-spacing: .01em; color: var(--ink-3); margin-top: 10px; }
.screen .lead { font-size: 21px; line-height: 1.45; letter-spacing: .007em; color: var(--ink-2); margin-top: 18px; max-width: 720px; }
.screen .body { font-size: 19px; line-height: 1.55; letter-spacing: .007em; color: var(--ink-2); margin-top: 16px; max-width: 560px; }
.screen .note { font-size: 13px; line-height: 1.6; color: var(--ink-3); margin-top: 18px; }
.screen .email { font-size: 21px; color: var(--blue); letter-spacing: -0.005em; }
.screen .email::after { content: " ›"; }
.screen .ctas { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 28px; }
.screen .anchor-row { display: flex; flex-wrap: wrap; gap: 14px 26px; }
.screen .points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 20px; }
.screen .points li { position: relative; padding-left: 14px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.screen .points li::before { content: ""; position: absolute; left: 0; top: .62em; width: 4px; height: 4px; border-radius: 50%; background: var(--blue); }
.screen .points--stack { flex-direction: column; gap: 12px; }
.screen .section-head { margin-bottom: 48px; }
.screen .section-head p { font-size: 19px; }
.screen .tag-row { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.screen .tag { font-size: 13px; color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; }
.screen--gray .tag { background: #fff; }
.screen .info { font-size: 14px; line-height: 2; color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px; }
.screen .info div { margin-bottom: 10px; }
.screen .info div:last-child { margin-bottom: 0; }
.screen .info b { color: var(--ink); font-weight: 500; display: inline-block; min-width: 84px; }
.screen .info h4 { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 10px; letter-spacing: -.005em; }

/* ---- 5. 布局骨架类（F1–F4） ---- */
/* F1 三段式：顶部小标 / 中部主内容 / 底部辅助带 */
.layout-three { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: space-between; gap: 36px; }
.layout-three .lt-top { flex: 0 0 auto; }
.layout-three .lt-main { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; }
.layout-three .lt-bottom { flex: 0 0 auto; }
/* F2 纯居中 */
.layout-center { flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.layout-center .lead,
.layout-center .body { margin-left: auto; margin-right: auto; }
.layout-center .ctas { justify-content: center; }
.layout-center .points { justify-content: center; }
/* F3 左右对分 */
.layout-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.layout-split--reverse .text-col { order: 2; }
.layout-split .visual-col { width: 100%; max-width: 460px; }
.layout-split--reverse .visual-col { margin-right: auto; }
/* F3 变体：一屏并置两个产品，细线分隔（首页 S5） */
.layout-split--pair { gap: 0; align-items: stretch; }
.layout-split--pair > .pair-col { padding: 8px 46px; display: flex; flex-direction: column; justify-content: center; }
.layout-split--pair > .pair-col:first-child { padding-left: 0; border-right: 1px solid var(--line); }
.layout-split--pair > .pair-col:last-child { padding-right: 0; }
.pair-col h3 { font-size: 28px; font-weight: 600; letter-spacing: -.015em; color: var(--ink); }
.pair-col .label { margin-top: 10px; margin-bottom: 0; }
.screen .email-row { margin-top: 26px; }
/* 屏底收束 CTA 区（产品页 / 方案页最终屏） */
.cta-foot { text-align: center; margin-top: 48px; }
.cta-foot h3 { font-size: 26px; font-weight: 600; letter-spacing: -.015em; color: var(--ink); }
.cta-foot .ctas { justify-content: center; }
.cta-foot .note { text-align: center; }
.screen .note--center { text-align: center; }
.screen .grid-gap-top { margin-top: 40px; }
.screen--gray .metric,
.screen--gray .info { background: #fff; }

/* 屏内表单（联系页 #form）：撑满对分列，字段间距收紧以适配整屏 */
.screen .form-wrap { max-width: 100%; margin: 0; }
.screen .field { margin-bottom: 18px; }
.screen .field textarea { min-height: 104px; }
.screen .form-note { text-align: left; margin-top: 14px; }
.screen--gray .field input,
.screen--gray .field textarea { background: #fff; }

/* 方案页「交付物 / 参考产品」信息卡 */
.screen .info .points { margin-top: 0; }
.screen .info-foot { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px; }
.screen .info-foot b { color: var(--ink); font-weight: 500; min-width: 0; }

/* 公众号卡：整屏内收紧上距；灰底屏改白底避免同色相融 */
.screen .qr-block { margin-top: 32px; }
.screen--gray .qr-block { background: #fff; border: 1px solid var(--line); }
/* F4 网格 */
.layout-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.layout-grid--2 { grid-template-columns: repeat(2, 1fr); }
.layout-grid--4 { grid-template-columns: repeat(4, 1fr); }
.layout-grid > .cap,
.layout-grid > .fcard,
.layout-grid > .metric { display: flex; flex-direction: column; }
.layout-grid > .cap .cta-link,
.layout-grid > .fcard .cta-link { margin-top: auto; padding-top: 16px; }
/* F1 横向流程（复用现网 .proc） */
.layout-process { width: 100%; }
.layout-process .proc { max-width: 920px; margin: 0 auto; }

/* 可点击卡片（产品矩阵） */
a.cap { display: block; color: inherit; }
a.cap:hover { text-decoration: none; transform: translateY(-2px); }
a.cap h3 { color: var(--ink); }
a.cap .cta-link { display: inline-block; }

/* 指标格（IntegratedVPP #metrics） */
.metric { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.metric .mv { font-size: 26px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; color: var(--ink); }
.metric .mn { font-size: 15px; font-weight: 500; color: var(--ink); margin-top: 10px; letter-spacing: -.005em; }
.metric .md { font-size: 13px; line-height: 1.5; color: var(--ink-2); margin-top: 4px; }

/* 屏底指标带（首页 Hero） */
.lt-bottom .stats-grid { border-top: 1px solid var(--line); padding-top: 26px; }
.stat .num--sm { font-size: 22px; line-height: 1.3; }
.stat .num--blue { color: var(--blue); }

/* 滚屏提示（N4） */
.scroll-hint { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 12px; letter-spacing: .08em; color: var(--ink-3); }
.scroll-hint svg { width: 14px; height: 14px; stroke: var(--ink-3); fill: none; stroke-width: 1.5; animation: sr-hint 2.4s ease-in-out infinite; }
@keyframes sr-hint { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(3px); opacity: 1; } }

/* ---- 6. 右侧屏进度指示器（N3，≥1024px 显示） ---- */
.screen-nav { display: none; }
.screen-nav__list { list-style: none; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.screen-nav__dot { display: flex; align-items: center; justify-content: flex-end; gap: 10px; text-decoration: none; }
.screen-nav__dot:hover { text-decoration: none; }
.screen-nav__dot::after { content: ""; flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--ink-3); background: transparent; transition: background .2s ease, border-color .2s ease; }
.screen-nav__dot.is-active::after { background: var(--blue); border-color: var(--blue); }
.screen-nav__label { font-size: 12px; line-height: 1; white-space: nowrap; color: var(--ink-2); opacity: 0; transform: translateX(6px); transition: opacity .2s ease, transform .2s ease; }
.screen-nav__dot:hover .screen-nav__label,
.screen-nav__dot:focus-visible .screen-nav__label,
.screen-nav__dot.is-active:hover .screen-nav__label { opacity: 1; transform: none; }
@media (min-width: 1024px) {
  .screen-nav { display: block; position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 50; }
}

/* ---- 7. 导航「产品」下拉（T6） ---- */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-toggle { display: inline-flex; align-items: center; gap: 5px; font-size: 14px; color: var(--ink); opacity: .85; letter-spacing: -0.01em; cursor: default; user-select: none; }
.nav-item:hover .nav-toggle, .nav-item:focus-within .nav-toggle { opacity: 1; }
.nav-caret { width: 9px; height: 6px; stroke: currentColor; fill: none; stroke-width: 1.6; opacity: .6; }
.nav-dd {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 244px; padding: 8px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid var(--line); border-radius: 14px;
  opacity: 0; visibility: hidden;
  transition: opacity .18s ease, transform .18s ease;
}
.nav-item:hover .nav-dd,
.nav-item:focus-within .nav-dd { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(4px); }
.nav-dd a { display: block; padding: 9px 12px; border-radius: 9px; font-size: 14px; color: var(--ink); opacity: 1; }
.nav-dd a:hover { background: var(--bg-alt); text-decoration: none; color: var(--ink); }
.nav-dd .dd-sub { display: block; font-size: 12px; color: var(--ink-3); margin-top: 2px; }

/* ---- 8. 移动端「本页目录」（M3，由 nav-dots.js 注入） ---- */
.mobile-toc { display: none; }
.mobile-toc__title { font-size: 12px; letter-spacing: .12em; color: var(--ink-3); padding: 2px 0 4px; }

/* ---- 9. 入场动效（N5） ---- */
[data-reveal] { opacity: 0; transform: translateY(var(--reveal-shift)); }
[data-reveal].is-visible {
  opacity: 1; transform: none;
  transition: opacity var(--reveal-dur) ease-out, transform var(--reveal-dur) ease-out;
  transition-delay: var(--reveal-delay, 0ms);
}

/* ---- 10. 就近吸附（N1/N2，桌面端） ---- */
@media (min-width: 1024px) {
  html { scroll-snap-type: y proximity; }
  .screen { scroll-snap-align: start; }
  /* 表单屏等需要输入的屏不参与吸附（避免输入法/焦点跳动冲突） */
  .screen--nosnap { scroll-snap-align: none; }
  /* 页脚作为尾部吸附点：footer 不是 .screen，原无吸附点，滚动到页脚会被吸回上一个 .screen（回弹）。
     设为 end 后，滚到底部会吸附到页脚底沿，页脚完整可见。 */
  footer { scroll-snap-align: end; }
}

/* ---- 11. 平板列数收缩（F4） ---- */
@media (max-width: 1023px) and (min-width: 761px) {
  .layout-grid,
  .layout-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .layout-split { gap: 40px; }
  .layout-split--pair > .pair-col { padding: 8px 28px; }
}

/* ---- 12. 移动端降级（M1–M6） ---- */
@media (max-width: 760px) {
  .screen { min-height: auto; padding-block: clamp(72px, 12dvh, 96px); }
  /* M5 例外：Hero 与最终 CTA 屏保留整屏 */
  .screen--hero { min-height: calc(var(--screen-min-h) - var(--nav-h)); }
  .screen--cta { min-height: var(--screen-min-h); }
  html { scroll-snap-type: none; }
  .screen-nav { display: none; }
  .layout-split { grid-template-columns: 1fr; gap: 36px; }
  .layout-split--reverse .text-col { order: 1; }
  .layout-split .visual-col { max-width: 100%; }
  .layout-grid,
  .layout-grid--2,
  .layout-grid--4 { grid-template-columns: 1fr; }
  .layout-split--pair { gap: 0; }
  .layout-split--pair > .pair-col { padding: 30px 0; }
  .layout-split--pair > .pair-col:first-child { border-right: 0; border-bottom: 1px solid var(--line); padding-top: 0; }
  .layout-split--pair > .pair-col:last-child { padding-bottom: 0; }
  .screen .lead,
  .screen .body { font-size: 17px; max-width: 100%; }
  .screen .section-head { margin-bottom: 32px; }
  .screen .ctas { flex-direction: column; gap: 12px; }
  .layout-three { gap: 28px; }
  /* 抽屉内：产品下拉平铺 + 本页目录 */
  .nav-links.open .nav-item { display: block; width: 100%; }
  .nav-links.open .nav-toggle { padding: 10px 0; font-size: 16px; }
  .nav-links.open .nav-caret { display: none; }
  .nav-links.open .nav-dd {
    position: static; transform: none; opacity: 1; visibility: visible;
    min-width: 0; padding: 0 0 6px; background: none; border: 0;
    backdrop-filter: none; -webkit-backdrop-filter: none;
  }
  .nav-links.open .nav-dd a { padding: 8px 0 8px 14px; font-size: 15px; color: var(--ink-2); border-radius: 0; }
  .nav-links.open .nav-dd a:hover { background: none; }
  .nav-links.open .nav-dd .dd-sub { display: none; }
  .nav-links.open .mobile-toc { display: block; width: 100%; margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
  .nav-links.open .mobile-toc a { display: block; padding: 8px 0; font-size: 15px; color: var(--ink-2); }
}

/* ---- 13. 横屏矮屏降级（M6） ---- */
@media (max-width: 560px) and (orientation: landscape) {
  .screen,
  .screen--hero,
  .screen--cta { min-height: auto; }
}
@media (max-height: 560px) and (orientation: landscape) {
  .screen,
  .screen--hero,
  .screen--cta { min-height: auto; padding-block: clamp(56px, 10dvh, 80px); }
  html { scroll-snap-type: none; }
}

/* ---- 14. reduced-motion 全链路关闭（N5） ---- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; scroll-snap-type: none !important; }
  [data-reveal],
  [data-reveal].is-visible { opacity: 1; transform: none; }
  /* 进度点仅保留状态切换（hover 展开屏名仍可用，只是无过渡动画） */
  .scroll-hint svg { opacity: .6; }
}
/* === /全屏弹性模块 === */

/* === 微信小程序二维码 (v2.5) === */
.mp-qr { display:flex; flex-direction:column; align-items:center; gap:14px; margin-top:28px; }
.mp-qr img { width:240px; height:240px; border-radius:14px; box-shadow:0 6px 28px rgba(0,0,0,.06); background:#fff; padding:10px; }
.mp-qr .mp-cap { font-size:13px; color:var(--ink-2); letter-spacing:.02em; }
@media (max-width:760px){ .mp-qr img { width:200px; height:200px; } }

/* ============================================================
   === 增量 v1.6 模块 ===
   产品预览画廊 / lightbox / 导航品牌 / 全宽 .wrap
   追加不覆盖：本段置于文件末尾，靠「后定义」覆盖 v2.1 同名值，
   不修改上方任何既有规则。
   ============================================================ */

/* ---- v1.6-1. 宽度令牌覆盖（§2.5） ---- */
:root {
  --maxw: 1120px;          /* 原 980 → 1120（+14%） */
  --maxw-screen: 1280px;   /* 原 1120 → 1280（+14%） */
  --maxw-nav: 1120px;      /* 原 1024 → 1120，导航/页脚与内容同宽 */
}

/* ---- v1.6-2. .screen .wrap 流体全宽（左右无可见空白，v1.7） ---- */
.screen .wrap {
  width: 96vw;
  max-width: 96vw;
}
.screen--hero .wrap,
.screen--overview .wrap {
  /* 100% 解析为 .screen 内容盒宽（视口−左右内边距），
     用 min 钳制避免 98vw 超出内容盒导致无法居中、出现左右不对称 */
  width: min(98vw, 100%);
  max-width: min(98vw, 100%);
}

/* 长文本保护：不与容器同宽，宽屏下仍居中限宽 */
.screen .lead { max-width: 720px; }
.screen .body { max-width: 560px; }
.screen .section-head p { max-width: 620px; margin-left: auto; margin-right: auto; }

/* 移动端回到 100%，仅保留 22px gutter（不叠加 vw 上限） */
@media (max-width: 760px) {
  .screen .wrap,
  .screen--hero .wrap,
  .screen--overview .wrap { width: 100%; max-width: 100%; }
  .screen .lead,
  .screen .body { max-width: 100%; }
}

/* ---- v1.6-3. 导航 logo 放大 + 公司名（§2.3，8 页一致） ---- */
.nav-logo { display: inline-flex; align-items: center; gap: 8px; }
.nav-logo:hover { text-decoration: none; }
.nav-logo img { height: 28px; width: auto; display: block; }
.nav-brand {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1;
  margin-left: 8px;
}

/* ---- v1.6-4. 产品预览画廊（§2.1 / §2.2） ---- */
.gallery { width: 100%; }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 18px;
}
.gallery--acip .gallery__grid { grid-template-columns: repeat(2, 1fr); }

.gallery__item {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.gallery__item:hover { text-decoration: none; }
.gallery__item[data-lightbox] { cursor: zoom-in; }

.gallery__frame {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
}
.gallery__frame--16x9 { aspect-ratio: 16 / 9; }
.gallery__frame--2x1 { aspect-ratio: 2 / 1; }
.gallery--acip .gallery__frame { aspect-ratio: 2 / 1; }
.gallery__frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery__item:hover .gallery__frame,
.gallery__item:focus-visible .gallery__frame {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1.5px var(--blue);
}
.gallery__cap {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-2);
  letter-spacing: -0.005em;
}

@media (max-width: 1023px) {
  .gallery__grid,
  .gallery--acip .gallery__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .gallery__grid,
  .gallery--acip .gallery__grid { grid-template-columns: repeat(2, 1fr); gap: 16px 12px; }
  .gallery__cap { font-size: 12px; margin-top: 8px; }
}

/* ---- v1.6-5. Lightbox 覆盖层（§4.2） ---- */
.lb-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;                       /* 高于 nav 的 50 */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 24px;
  background: rgba(29, 29, 31, .92);
  opacity: 0;
  transition: opacity .2s ease;
}
.lb-overlay[hidden] { display: none; }
.lb-overlay.is-open { opacity: 1; }
.lb-dialog {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90vw;
}
.lb-img {
  display: block;
  width: 90vw;
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 12px;
}
.lb-cap {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .78);
  text-align: center;
}
.lb-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: none;
  border: 0;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  opacity: .8;
  transition: opacity .2s ease;
}
.lb-close:hover,
.lb-close:focus-visible { opacity: 1; }
@media (max-width: 760px) {
  .lb-overlay { padding: 16px; }
  .lb-close { top: 12px; right: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .lb-overlay { transition: none; opacity: 1; }
  .gallery__frame { transition: none; }
}
/* === /增量 v1.6 模块 === */

/* ============================================================
   === 增量 v1.8 模块 ===
   B Hero 内容居中 / F 稀疏屏居中 / E 提交成功模态
   追加不覆盖：本段置于文件末尾，靠「后定义」覆盖同名值，
   不修改上方任何既有规则。
   ============================================================ */

/* ---- v1.8-1. Hero 内容水平居中（B，7 个 .layout-three Hero） ----
   作用域限定 .screen--hero：contact C1 的 .layout-split 表单 Hero 不受影响。
   有意不写 .layout-three{align-items:center}：该容器是 flex 列，align-items
   会让 .lt-main / .lt-bottom 从 stretch 退化为 fit-content，导致首页 Hero
   的 .stats-grid（4 列 + 顶部细线）收缩、上下两带宽度不对称。
   故仅用 text-align + 行级组件 justify-content + 长文 margin auto。 */
.screen--hero .layout-three { text-align: center; }
.screen--hero .layout-three .lead,
.screen--hero .layout-three .body,
.screen--hero .layout-three .sub-line,
.screen--hero .layout-three .sub-en,
.screen--hero .layout-three .note { margin-left: auto; margin-right: auto; }
.screen--hero .layout-three .ctas,
.screen--hero .layout-three .anchor-row,
.screen--hero .layout-three .points { justify-content: center; }

/* ---- v1.8-2. 稀疏屏居中（F） ----
   D 删除 .info 后，about #profile / contact #location 的 .layout-split
   只剩单个 .text-col：跨满两列 + 限宽 + 居中 + 文本居中。
   :only-child 精确命中「删后单栏」，不误伤其余 5 处仍为双栏的 split，
   零 HTML 改动；垂直居中已由 .screen .wrap{justify-content:center} 提供。 */
.screen .layout-split > .text-col:only-child {
  grid-column: 1 / -1;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.screen .layout-split > .text-col:only-child .lead,
.screen .layout-split > .text-col:only-child .body { margin-left: auto; margin-right: auto; }
.screen .layout-split > .text-col:only-child .ctas,
.screen .layout-split > .text-col:only-child .anchor-row,
.screen .layout-split > .text-col:only-child .points { justify-content: center; }

/* ---- v1.8-3. 提交成功模态（E，由 js/contact-form.js 注入 DOM） ----
   Apple 极简：毛玻璃遮罩 + 居中白卡 + 18px 圆角 + 单一品牌蓝按钮。
   z-index 120 > lightbox 100 > nav 50。 */
.sr-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity .2s ease;
}
.sr-modal[hidden] { display: none; }
.sr-modal.is-open { opacity: 1; }
.sr-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(29, 29, 31, .38);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.sr-modal__card {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: 36px 32px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .16);
  text-align: center;
  transform: translateY(8px);
  transition: transform .2s ease;
}
.sr-modal.is-open .sr-modal__card { transform: none; }
.sr-modal__title { font-size: 22px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.sr-modal__text { font-size: 15px; line-height: 1.6; color: var(--ink-2); margin-top: 10px; }
.sr-modal__note { font-size: 13px; line-height: 1.6; color: var(--ink-3); margin-top: 12px; }
.sr-modal__note a { color: var(--blue); }
.sr-modal__btn {
  margin-top: 24px;
  padding: 12px 30px;
  background: var(--blue);
  color: #fff;
  border: 0;
  border-radius: 12px;
  font-family: inherit;
  font-size: 16px;
  letter-spacing: -.01em;
  cursor: pointer;
}
.sr-modal__btn:hover { background: var(--blue-2); }
.sr-modal__btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
@media (max-width: 760px) {
  .sr-modal { padding: 18px; }
  .sr-modal__card { padding: 30px 24px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .sr-modal { transition: none; opacity: 1; }
  .sr-modal__card { transition: none; transform: none; }
}
/* === /增量 v1.8 模块 === */

/* === 增量 v1.9 模块 · T7 DayTag 竖屏画廊（仅追加，不覆盖既有） === */
/* Q2 决策：原图实测 720×1600 ≈ 9:20，新建 .gallery__frame--9x20 严格按比例、零裁切。
   竖图用 object-fit:contain 完整显示手机截图，背景白避免 cover 裁关键信息。
   既有 .gallery__frame img{object-fit:cover} 仅对 .gallery--daytag 作用域 override，横版 ACIP 不受影响。 */

/* 桌面 3 列横排（与默认 .gallery__grid 一致），竖卡 3 列观感最佳 */
.gallery--daytag .gallery__grid {
  grid-template-columns: repeat(3, 1fr);
}
/* 竖屏 frame：严格 9:20，零裁切；max-width 约束卡片不撑爆三列布局，居中 */
.gallery__frame--9x20 {
  aspect-ratio: 9 / 20;
  max-width: 280px;
  margin-inline: auto;
}
/* 仅 daytag 作用域内覆盖 cover→contain，横版 ACIP 不受影响（防御：即便漏写 --9x20 也按竖屏） */
.gallery--daytag .gallery__frame {
  aspect-ratio: 9 / 20;
  border-radius: var(--radius);
}
.gallery--daytag .gallery__frame img {
  object-fit: contain;
  background: #fff;
}

/* ≤1023px 降 2 列 */
@media (max-width: 1023px) {
  .gallery--daytag .gallery__grid { grid-template-columns: repeat(2, 1fr); }
}
/* ≤760px 仍 2 列；缩窄卡片防溢出 */
@media (max-width: 760px) {
  .gallery--daytag .gallery__grid { grid-template-columns: repeat(2, 1fr); gap: 16px 12px; }
  .gallery__frame--9x20 { max-width: 200px; }
}
/* === /增量 v1.9 模块 === */

/* === 增量 v1.11 模块 · 产品页 & 文案页 & 首页内容对齐导航宽度（向中间集中） === */
/* 根因：v1.6-2 把 .screen .wrap 设为 96vw 全宽，产品页/文案页/首页内容比导航（--maxw-nav=1120px）更宽，显得分散。
   本模块作用于 .page-product（4 个产品页）+ .page-text（about/solutions/contact 文案页）+ .page-home（中/英首页，body 已加该类），
   把内容宽度收回到导航宽度并居中（section 背景仍全幅，仅 .wrap 内容居中）。 */
.page-product .screen .wrap,
.page-product .screen--hero .wrap,
.page-product .screen--overview .wrap,
.page-text .screen .wrap,
.page-text .screen--hero .wrap,
.page-text .screen--overview .wrap,
.page-home .screen .wrap,
.page-home .screen--hero .wrap,
.page-home .screen--overview .wrap {
  width: 100%;
  max-width: var(--maxw-nav);   /* 1120px，与导航/页脚同宽 */
}
/* 移动端回到 100%（仅留 22px gutter），与既有 v1.6-2 移动规则一致，避免大屏外被限宽 */
@media (max-width: 760px) {
  .page-product .screen .wrap,
  .page-product .screen--hero .wrap,
  .page-product .screen--overview .wrap,
  .page-text .screen .wrap,
  .page-text .screen--hero .wrap,
  .page-text .screen--overview .wrap,
  .page-home .screen .wrap,
  .page-home .screen--hero .wrap,
  .page-home .screen--overview .wrap { width: 100%; max-width: 100%; }
}
/* === /增量 v1.11 模块 === */
