/* ============================================================
   LANSyncBox 官网 · 站点样式
   由 temp/web-preview/base.css 与 3.html 的 <style> 合并而成。
   配色（取自既有构建常量，勿改）：
     焦点色 #17A2B8 · 深青 #0E7482 · 浅青 #DEF0F4
     主文字 #2C3E50 · 副文字 #4A606C · 弱文字 #96A6B0
     背景 #F1F8FB → #E4F0F4 · 描边 #D8E6EC
   ============================================================ */

:root {
    --accent: #17A2B8;
    --accent-dark: #0E7482;
    --accent-soft: #DEF0F4;
    --dark: #2C3E50;
    --sub: #4A606C;
    --faint: #96A6B0;
    --bg-top: #F1F8FB;
    --bg-bot: #E4F0F4;
    --line: #D8E6EC;
    --white: #FFFFFF;
    --grey: #6C757D;

    --radius: 14px;
    --radius-lg: 20px;
    --shadow-sm: 0 2px 8px rgba(44, 62, 80, .06);
    --shadow: 0 12px 32px rgba(44, 62, 80, .10);
    --shadow-lg: 0 24px 60px rgba(44, 62, 80, .14);

    --nav-h: 66px;
    --maxw: 1080px;

    --font: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'PingFang SC',
        'Microsoft YaHei', 'Hiragino Sans GB', sans-serif;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    /* 本项目不启用 CSS 吸附：整屏吸附会连带把详情区与页脚吸住，
       导致内容滚不到，故一律使用普通滚动 */
    scroll-padding-top: var(--nav-h);
    /* 关闭滚动锚定：屏内内容高度变化（如切换下载版本）时不自动挪动视口 */
    overflow-anchor: none;
}

body {
    margin: 0;
    color: var(--dark);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.8;
    background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bot) 100%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------- 顶栏 ---------- */
.navbar {
    position: sticky; top: 0; z-index: 50;
    height: var(--nav-h);
    display: flex; align-items: center;
    background: rgba(241, 248, 251, .86);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}
.navbar .container { display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--dark); font-weight: 700; font-size: 17px; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }

.tabs { position: relative; margin-left: auto; display: flex; align-items: center; gap: 6px; }
.tab {
    padding: 8px 18px; border-radius: 999px;
    color: var(--sub); font-size: 15px; text-decoration: none;
    transition: color .2s ease;
}
.tab:hover { color: var(--dark); }
.tab.active { color: var(--accent-dark); font-weight: 600; }

/* 顶栏选中态：文字下方短线指示条 —— 宽度取标签文字宽，位置随选中标签移动。
   位移与宽度都走语言/版本气泡那条同款 q 弹曲线，切换时可弹 */
.tab-underline {
    position: absolute; left: 0; bottom: 4px;
    width: 0; height: 2px; border-radius: 2px;
    background: var(--accent);
    transition: transform .38s cubic-bezier(.34, 1.35, .5, 1),
                width .38s cubic-bezier(.34, 1.35, .5, 1);
    will-change: transform, width;
}

/* ---------- 语言切换：中 / EN 双段滑块 ---------- */
.lang {
    --opt-w: 44px;
    --pad: 3px;
    position: relative; display: inline-flex; align-items: center;
    margin-left: 14px; padding: var(--pad);
    background: var(--bg-top); border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: inset 0 1px 3px rgba(44, 62, 80, .07);
}
.lang-slider {
    position: absolute; top: var(--pad); left: var(--pad); bottom: var(--pad);
    width: var(--opt-w);
    border-radius: 999px;
    background: var(--accent);
    transition: transform .38s cubic-bezier(.34, 1.35, .5, 1);
    will-change: transform;
}
.lang[data-active="en"] .lang-slider { transform: translateX(var(--opt-w)); }
.lang-option {
    position: relative; z-index: 1;
    width: var(--opt-w); height: 30px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 0; background: transparent; cursor: pointer;
    font: inherit; font-size: 12.5px; font-weight: 700; line-height: 1; letter-spacing: .02em;
    color: var(--sub); border-radius: 999px;
    transition: color .2s ease;
    -webkit-tap-highlight-color: transparent;
}
.lang-option:hover { color: var(--dark); }
.lang-option.active { color: #fff; }
.lang-option:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 3px; }

/* 切换语言：仅声明过 i18n 的文案做柔和交叉淡入，页面不整体变暗 */
[data-i18n] { transition: opacity .16s ease; }
body.i18n-switching [data-i18n] { opacity: .16; }

@media (prefers-reduced-motion: reduce) {
    .lang-slider,
    .lang-option,
    [data-i18n] { transition: none; }
    body.i18n-switching [data-i18n] { opacity: 1; }
}

/* ---------- 分段 ---------- */
.seg { padding: 110px 0; }
.seg-hero { min-height: calc(100vh - var(--nav-h)); display: flex; align-items: center; padding: 80px 0; }
.seg-tight { padding: 88px 0; }
.divider { height: 1px; background: var(--line); max-width: var(--maxw); margin: 0 auto; }

/* ---------- 文案 ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--white); border: 1px solid var(--line);
    color: var(--accent-dark); font-size: 13px; font-weight: 600;
    padding: 6px 16px; border-radius: 999px;
    box-shadow: var(--shadow-sm);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

.title {
    font-size: clamp(46px, 7.6vw, 92px);
    letter-spacing: -.035em;
    color: var(--dark);
}
.title .accent { color: var(--accent); }

.tagline {
    font-size: clamp(17px, 2vw, 22px);
    color: var(--sub);
    line-height: 1.7;
    font-weight: 400;
}
.lede { color: var(--sub); font-size: 16.5px; }

.section-title { font-size: 30px; }
.section-title .accent { color: var(--accent); }
.section-sub { color: var(--faint); font-size: 15px; margin-top: 10px; }

/* ---------- 按钮 ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 15px 38px; border-radius: 999px;
    font-size: 16px; font-weight: 600; text-decoration: none;
    border: 1px solid transparent; cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 26px rgba(23, 162, 184, .32); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 16px 34px rgba(23, 162, 184, .38); }
.btn-ghost { background: var(--white); color: var(--dark); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-dark); transform: translateY(-2px); }
.btn-lg { padding: 18px 52px; font-size: 17.5px; }
.btn-sm { padding: 10px 22px; font-size: 14px; }

/* ---------- 卡片 ---------- */
.cards { display: grid; gap: 20px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 26px;
    box-shadow: var(--shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #C6DDE5; }
.card-ico {
    width: 42px; height: 42px; border-radius: 12px;
    background: var(--accent-soft); color: var(--accent-dark);
    display: flex; align-items: center; justify-content: center;
    font-size: 19px; font-weight: 700; margin-bottom: 16px;
}
.card h3 { font-size: 17.5px; }
.card p { color: var(--sub); font-size: 15px; margin-top: 9px; }

/* ---------- 截图 ---------- */
.shot {
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    overflow: hidden;
    background: var(--white);
}
.shot img { width: 100%; }

/* 示意图不套卡片外框：描边留 1px 透明以与相邻卡片同宽，
   去掉底色与投影后直接落在页面背景上（SVG 本身已不铺底色） */
.shot.is-bare { border-color: transparent; box-shadow: none; background: transparent; }

/* ---------- 下载区：底部官方徽章行 ---------- */
.dl-foot {
    display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
    margin-top: 16px;   /* 紧跟下载清单下方，不贴底 */
}

/* ---------- 下载区：下载即视为同意的条款提示（链接指向用户协议与隐私政策） ---------- */
.dl-consent {
    margin-top: 10px;
    text-align: center;
    color: var(--sub); font-size: 12.5px; line-height: 1.7;
}
.dl-consent a {
    color: var(--accent-dark); text-decoration: underline; text-underline-offset: 2px;
}
.dl-consent a:hover { color: var(--dark); }

/* ---------- 收尾横带：左文案 · 右下载按钮 ---------- */
.outro { padding: 0 0 88px; }
.outro .band {
    display: flex; align-items: center; gap: 34px; flex-wrap: wrap;
    background: var(--white); border: 1px solid var(--line);
    border-radius: 16px; padding: 26px 30px;
}
.outro .txt { flex: 1; min-width: 240px; }
.outro h2 { font-size: clamp(20px, 2.4vw, 26px); }
.outro p { color: var(--sub); font-size: 15px; margin-top: 6px; }
.outro .btn { flex: none; }

/* ---------- 信任行：全宽带，无外框（仅上下通栏细线 + 每项 accent 短线） ---------- */
/* 信任行并进下载屏：下载内容在剩余空间内居中（整体上移），信任行贴屏底 */
.screen#download { padding-bottom: 0; }
.screen#download > .container { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.screen#download > .trust-band { flex: none; }
.trust-band {
    padding: 44px 0 48px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.trust-row {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-wrap: wrap; gap: clamp(28px, 5vw, 64px);
}
.trust-row li { position: relative; flex: 1 1 200px; min-width: 180px; padding-top: 15px; }
.trust-row li::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 20px; height: 2px; border-radius: 2px; background: var(--accent);
}
.trust-row b { display: block; font-size: 20px; font-weight: 700; color: var(--dark); letter-spacing: -.01em; }
.trust-row span { display: block; margin-top: 7px; font-size: 13px; line-height: 1.65; color: var(--sub); }

/* ---------- 分段标题头（使用场景 / 常见问题） ---------- */
.sec-head { max-width: 640px; margin-bottom: 44px; }
.kicker {
    font-size: 12.5px; font-weight: 700; letter-spacing: .12em;
    text-transform: uppercase; color: var(--faint); margin-bottom: 12px;
}

/* ---------- 使用场景：去框、去行间线，靠留白分行 ---------- */
.scene-list { display: grid; row-gap: 36px; }
.scene-row { display: grid; grid-template-columns: minmax(130px, 148px) 1fr; column-gap: 40px; }
.scene-row b { font-size: 14px; font-weight: 600; color: var(--accent-dark); letter-spacing: .04em; }
/* 不给 max-width：说明文字铺满自身那一栏，空间足够时不提前折行（与 .faq .ans 同口径） */
.scene-row p { font-size: 15px; line-height: 1.65; color: var(--sub); }

/* ---------- 常见问题：去外框，仅通栏细线分行；标记由两条 1px 线拼成 +/− ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
    list-style: none; cursor: pointer; position: relative;
    padding: 20px 44px 20px 0;
    font-size: 16px; font-weight: 600; color: var(--dark);
    transition: color .2s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before,
.faq summary::after {
    content: ''; position: absolute; top: 50%; background: var(--faint);
    transition: transform .2s ease, background .2s ease;
}
.faq summary::before { right: 8px; width: 12px; height: 1px; transform: translateY(-50%); }
.faq summary::after { right: 13px; width: 1px; height: 12px; transform: translateY(-50%); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(90deg); }
/* 收起动画进行中：open 尚未移除，但 +/− 标记要先翻回「+」 */
.faq details.closing summary::after { transform: translateY(-50%) rotate(0deg); }
.faq summary:hover { color: var(--accent-dark); }
.faq summary:hover::before,
.faq summary:hover::after { background: var(--accent); }
/* overflow:hidden 供 JS 的高度过渡裁掉溢出内容；未运行 JS 时高度为 auto，不受影响。
   不给 max-width：答案与问句同宽（通栏），空间足够时不提前折行 */
.faq .ans { padding: 0 44px 24px 0; font-size: 15px; line-height: 1.7; color: var(--sub); overflow: hidden; }

/* ---------- 页脚：六列（品牌 · 产品 · 文档 · 联系 · 社区 · 法律） ---------- */
.footer { padding: 52px 0 34px; border-top: 1px solid var(--line); font-size: 13.5px; }
.footer-cols { display: grid; grid-template-columns: 1.4fr repeat(5, 1fr); gap: 32px; }
.footer .brand { color: var(--dark); }
.footer h4 { margin: 0 0 14px; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer a { color: var(--sub); text-decoration: none; transition: color .2s ease; }
.footer a:hover { color: var(--accent-dark); }
.footer-brand p { color: var(--faint); margin-top: 12px; max-width: 22em; }
.footer-bottom {
    margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line);
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
    color: var(--faint);
}

/* 简单页脚（感谢页等）：两行并排，不套用五列结构 */
.footer-simple .container { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; }

/* ============================================================
   分段吸附滑动 · 首屏 · 版本标签 · 分栏 · 能力方块 · 对比表 · 动图 · 指示器
   （原 3.html 内联样式，合并于此）
   ============================================================ */

/* 各分段：高度随内容自适应，普通滚动（本项目不启用 CSS 吸附） */
.screen {
    display: flex; flex-direction: column; justify-content: center;
    padding: 88px 0;
    position: relative;
}

/* 首屏与下载区各占满一屏：保证「一屏一段」的观感，
   并避免下一段（详情）内容在同一屏的空白处露出 */
.screen.hero-min,
.screen#download { min-height: calc(100vh - var(--nav-h)); }

/* 首屏 */
.hero-min { text-align: center; }
.hero-min .title { font-size: clamp(56px, 10vw, 138px); letter-spacing: -.05em; margin-bottom: 26px; }
.hero-min .tagline { max-width: 760px; margin: 0 auto 46px; font-size: clamp(17px, 2vw, 22px); }
.scroll-hint {
    position: absolute; left: 50%; bottom: 32px; transform: translateX(-50%);
    color: var(--faint); font-size: 12.5px; letter-spacing: .12em;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    transition: opacity .4s ease;
}
/* 离开顶部后淡出：滚动提示只在尚未开始下滑时有意义 */
.scroll-hint.is-hidden { opacity: 0; pointer-events: none; }
.scroll-hint::after {
    content: ''; width: 1px; height: 28px;
    background: linear-gradient(180deg, var(--faint), transparent);
}

/* ---------- 首屏逐层渐出（自上而下） ----------
   动画只在加载层开始淡出那一刻由 JS 给 <html> 挂上 .hero-reveal 才启动，
   否则会藏在加载层后面白演一遍。
   .hero-reveal 仅由 JS 添加：脚本未运行或中途报错时选择器不匹配，
   首屏保持普通可见状态，不存在「白屏等内容」的情况。
   填充模式用 backwards 而非 both：both 会让动画终态一直压住 transform，
   首屏主按钮的 hover 上浮会因此失效。 */
@keyframes heroRise {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
}
/* 滑动提示自带 translateX(-50%) 居中，动画里必须带上它，否则会跑偏 */
@keyframes heroRiseHint {
    from { opacity: 0; transform: translate(-50%, 16px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}
.hero-reveal .hero-min .container > *:not(.title) {
    animation: heroRise 600ms cubic-bezier(.16, 1, .3, 1) backwards;
}
.hero-reveal .hero-min .container > *:nth-child(2) { animation-delay: 620ms; }
.hero-reveal .hero-min .container > *:nth-child(3) { animation-delay: 760ms; }
/* 标题不参与整块上浮，改由 .ch 逐字入场 */
.hero-split .ch { display: inline-block; }
@keyframes heroChIn {
    from { opacity: 0; transform: translateY(.44em) rotate(2.4deg); }
    to { opacity: 1; transform: none; }
}
@keyframes heroTrackIn {
    from { letter-spacing: .055em; }
    to { letter-spacing: -.05em; }
}
.hero-reveal .hero-split .ch {
    animation: heroChIn 760ms cubic-bezier(.16, 1, .3, 1) backwards;
    animation-delay: calc(var(--i) * 26ms);
}
.hero-reveal .hero-split {
    animation: heroTrackIn 1200ms cubic-bezier(.16, 1, .3, 1) 180ms backwards;
}
.hero-reveal .hero-min .scroll-hint {
    animation: heroRiseHint 600ms cubic-bezier(.16, 1, .3, 1) 270ms backwards;
}
@media (prefers-reduced-motion: reduce) {
    .hero-reveal .hero-min .container > *,
    .hero-reveal .hero-split,
    .hero-reveal .hero-split .ch,
    .hero-reveal .hero-min .scroll-hint { animation: none; }
}

/* 版本大标签（一眼可辨） */
.edition { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.edition-name {
    font-size: clamp(25px, 2.8vw, 33px); font-weight: 800; letter-spacing: -.01em;
    color: var(--accent-dark); background: var(--accent-soft);
    padding: 5px 22px; border-radius: 13px; line-height: 1.3;
}
.edition.is-pro .edition-name { background: var(--accent); color: #fff; }
.edition-ver { font-size: 14px; font-weight: 700; color: var(--faint); letter-spacing: .05em; }

.headline { font-size: clamp(25px, 3.2vw, 38px); letter-spacing: -.02em; }
.headline .accent { color: var(--accent); }
/* 标题高亮短语整体独占一行：避免「实时跟随」被拆散到两行 */
.headline .accent-block { display: block; }

/* 左右分栏（图文） */
.split { display: grid; grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: center; }
.split.flip .split-media { order: -1; }

.blist { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 13px; }
.blist li { position: relative; padding-left: 24px; font-size: 16px; color: var(--dark); line-height: 1.6; }
.blist li::before {
    content: ''; position: absolute; left: 0; top: 9px;
    width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
}

/* 能力清单：去外框、去格间线，靠留白分格；01-06 序号作眉标，
   标题承担主层级，hover 仅编号与标题轻微变色，不做整块色块 */
.tiles {
    display: grid; grid-template-columns: repeat(3, 1fr);
    column-gap: 44px; row-gap: 38px;
}
.tile { display: block; }
.tile-ico {
    font-size: 15px; font-weight: 800; letter-spacing: .08em;
    color: var(--accent); font-variant-numeric: tabular-nums;
    margin-bottom: 8px;
    transition: color .2s ease;
}
.tile h3 { font-size: 17px; transition: color .2s ease; }
.tile p { margin-top: 7px; color: var(--sub); font-size: 14px; line-height: 1.65; }
.tile:hover .tile-ico { color: var(--accent-dark); }
.tile:hover h3 { color: var(--accent-dark); }



/* 投递演示：2 列并排、不套外框 —— 图直接落在页面背景上，
   与首页「同步过程」示意图（.shot.is-bare）同一套视觉语言；图下配「标题 + 一句简介」 */
.demos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.demo img {
    width: 100%; height: auto;
    /* 出图前先按 16:9 占位，图不会因素材到位而折叠、页面不跳；
       矢量素材本身即 16:9，故盒子与画面比例一致，画面满铺、左右不留空 */
    aspect-ratio: 16 / 9;
    object-fit: contain;
    display: block;
    background-color: var(--bg-top);
    /* 占位扫光：未出图时盒面上一道柔光扫过；出图后由 .is-loaded 停掉 */
    background-image: linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, .95) 50%, transparent 65%);
    background-repeat: no-repeat;
    background-size: 220% 100%;
    background-position: 0% 0;
    animation: demoSheen 1.7s ease-in-out infinite;
}
.demo img.is-loaded { animation: none; background-image: none; }
@keyframes demoSheen {
    0% { background-position: 0% 0; }
    100% { background-position: 100% 0; }
}
.demo figcaption { margin-top: 12px; }
.demo figcaption b { display: block; font-size: 14.5px; line-height: 1.4; color: var(--dark); }
.demo figcaption b::before {
    content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 8px;
    border-radius: 50%; background: var(--accent); vertical-align: 2px;
}
.demo figcaption span { display: block; margin-top: 5px; font-size: 12.5px; line-height: 1.6; color: var(--faint); }

/* 第 07 项 · Web UI 手机访问：文案贴左列、手机截图贴右列，两端分别与上方两张演示图对齐。
   竖图配短文案不适合贴在一起（会显得挤），分开锚在两端反而读作一条完整内容 */
.webui {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
    align-items: center;
    margin-top: 56px;
}
/* 上方 .demo 是 <figure>，默认左右各 40px 外边距；这里同样内缩，
   让文案左缘对齐左图、截图右缘对齐右图 */
.webui-text { justify-self: start; max-width: 440px; padding-left: 40px; }
.webui-media { justify-self: end; padding-right: 40px; }
.webui-shot { width: 200px; }
.webui-shot img { width: 100%; height: auto; }

/* 右侧分段指示器 */
.dots { position: fixed; right: 22px; top: 50%; transform: translateY(-50%); z-index: 40;
    display: flex; flex-direction: column; gap: 12px; }
.dots button {
    width: 9px; height: 9px; padding: 0; border-radius: 50%; cursor: pointer;
    border: 1px solid var(--faint); background: transparent;
    transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
.dots button.active { background: var(--accent); border-color: var(--accent); transform: scale(1.35); }
.dots button:hover { border-color: var(--accent); }

/* ---------- 下载页：标题 + 说明行（版本号收在说明行尾，不再单独成胶囊） ---------- */
.dl-head { margin-bottom: 26px; }
.dl-eyebrow { font-size: 10.5px; font-weight: 700; letter-spacing: .22em; color: var(--accent); margin-bottom: 6px; }
/* 版本合并说明：标题下一行小注，前面一个青绿圆点做提示 */
.dl-note {
    position: relative; margin-top: 10px; padding-left: 15px;
    display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px;
    font-size: 13px; line-height: 1.65; color: var(--sub);
}
.dl-note::before {
    content: ''; position: absolute; left: 0; top: 8px;
    width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}
/* 版本号：竖线分隔，跟说明同一行 */
.dl-ver {
    display: inline-flex; align-items: center; gap: 7px;
    padding-left: 14px; border-left: 1px solid var(--line);
    font-size: 12.5px; color: var(--faint); white-space: nowrap;
}
.dl-ver .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.dl-ver b { font-size: 13px; font-weight: 600; color: var(--accent-dark); }

/* 下载区双栏：左为界面叠图，右为三个平台纵向条目 */
.dl-grid {
    display: grid;
    grid-template-columns: minmax(0, 480px) minmax(0, 400px);
    justify-content: space-between;
    gap: 48px;
    align-items: center;
    margin-top: 44px;     /* 与标题行拉开，给叠图留出呼吸 */
    margin-bottom: 26px;  /* 叠图向右下探出，不压到下一条信任线 */
}

/* 叠图：房间界面做底，主界面叠右下并向右下探出 26px。
   host 左栏（房间卡 / 房间管理 / 传输日志）完整露出，主界面只压住右下空白文件区，
   同时把视觉重心压下来，与右侧三行条目的高度差不再显得头重脚轻 */
.stack { position: relative; }
.stack-base {
    display: block; width: 100%; height: auto;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(44, 62, 80, .09);
}
.stack-over {
    position: absolute; right: -26px; bottom: -26px; width: 32%; height: auto;
    display: block; border-radius: 8px;
    box-shadow: 0 12px 28px rgba(14, 116, 130, .20), 0 1px 3px rgba(44, 62, 80, .14);
}

/* 右栏清单：不用卡片外框，改用通栏细线分隔，与信任行同一套语言 */
.dl-row {
    display: flex; align-items: center; gap: 15px;
    padding: 16px 2px;
    border-bottom: 1px solid var(--line);
}
.dl-row:first-child { border-top: 1px solid var(--line); }
.dl-row-ico {
    flex: none; width: 36px; height: 36px; border-radius: 9px;
    background: var(--accent-soft);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent-dark);
}
.dl-row-ico img { display: block; height: 19px; width: auto; }
.dl-row-txt { min-width: 0; }
.dl-os { display: block; font-size: 15px; font-weight: 700; line-height: 1.35; color: var(--dark); }
.dl-arch { display: block; font-size: 12px; line-height: 1.45; color: var(--faint); }

/* 下载按钮：常态描边；悬停时翻成实心、微微抬起并带一层收紧的青光，箭头同时向下沉 */
.dl-row-btn {
    margin-left: auto; flex: none;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 4px 22px; border-radius: 8px;
    border: 1px solid var(--line); background: var(--white);
    color: var(--accent-dark); font-size: 13px; line-height: 22px; font-weight: 600;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease,
                transform .2s ease, box-shadow .2s ease;
    -webkit-tap-highlight-color: transparent;
}
.dl-row-btn svg { width: 13px; height: 13px; transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.dl-row-btn:hover,
.dl-row-btn:focus-visible {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(23, 162, 184, .26);
}
.dl-row-btn:hover svg,
.dl-row-btn:focus-visible svg { transform: translateY(2px); }
.dl-row-btn:active { transform: translateY(0); box-shadow: 0 2px 6px rgba(23, 162, 184, .2); }
.dl-row-btn:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 3px; }

/* 官方渠道与协议：与清单隔一段，徽章和协议分两行，不再挤在同一行 */
.dl-store-row { margin-top: 22px; }
.dl-store-row .dl-consent { margin-top: 12px; }

@media (max-width: 980px) {
    .dl-grid { grid-template-columns: 1fr; gap: 48px; }
    .stack { max-width: 480px; margin: 0 auto; }
    /* 单列时不再向右探出：底图已居中，探出会让右侧留白比左侧少一截 */
    .stack-over { right: 0; bottom: -14px; width: 36%; }
    /* 单列时清单与上方截图同宽，否则行会被拉得很长、按钮飘到最右 */
    .dl-list { max-width: 480px; margin: 0 auto; }
    /* 单列时版本号折到第二行首，竖线去掉；说明文字独占一行，版本号才会靠左而不是被挤到行尾 */
    .dl-note > span:first-child { flex: 1 1 100%; }
    /* 抵消说明行的 15px 缩进，让第二行的圆点与第一行圆点上下对齐，行首不再空一截 */
    .dl-ver { padding-left: 0; border-left: 0; margin-left: -15px; }
}

/* Microsoft Store 官方徽章（保持官方比例，勿拉伸） */
.dl-store { display: inline-flex; text-decoration: none; transition: opacity .18s ease; }
.dl-store:hover { opacity: .82; }
.dl-ms-badge { height: 38px; width: auto; display: block; }

/* ---------- 反馈 · 三渠道 ---------- */
.fb-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fb-card {
    display: flex; gap: 18px;
    background: var(--white); border: 1px solid var(--line); border-radius: 16px;
    padding: 22px 22px;
    text-decoration: none; color: inherit;
    transition: border-color .25s ease, background-color .25s ease;
}
.fb-card:hover { border-color: var(--accent); }
.fb-card-ico {
    flex-shrink: 0;
    width: 52px; height: 52px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
}
.fb-card-ico-github { background: #24292F; color: #fff; }
.fb-card-ico-qq { background: var(--bg-top); border: 1px solid var(--line); }
.fb-card-ico-mail { background: var(--accent-soft); color: var(--accent-dark); }
.fb-card-ico svg { width: 26px; height: 26px; }
.fb-card-ico-img { width: 32px; height: 32px; display: block; }
.fb-card-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.fb-card-body h3 {
    font-size: 17px; font-weight: 700; color: var(--dark);
    margin: 0 0 4px; line-height: 1.3;
}
.fb-card-body p {
    flex: 1 0 auto;
    font-size: 13px; color: var(--faint);
    margin: 0 0 14px; line-height: 1.55;
}
/* 底部操作元素向左伸出图标列（52px 图标 + 18px 间距），与卡片左右边缘对齐 */
.fb-card-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    width: calc(100% + 70px); margin-left: -70px; min-height: 40px; padding: 0 16px; border-radius: 10px;
    border: 1px solid var(--accent); background: var(--white);
    color: var(--accent-dark); font-size: 13px; font-weight: 700; text-decoration: none;
    cursor: pointer;
    transition: background-color .25s ease, border-color .25s ease;
    font-family: inherit;
}
.fb-card-btn:hover,
.fb-card-btn:focus-visible { background: var(--accent-soft); border-color: var(--accent); }
.fb-card-btn:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 2px; }

/* 复制图标按钮：框内小按钮，紧贴群号右侧 */
.fb-copy {
    flex-shrink: 0;
    width: 22px; height: 22px;
    display: inline-flex; align-items: center; justify-content: center;
    border: none; background: transparent; cursor: pointer;
    color: var(--faint); border-radius: 4px;
    padding: 0;
    transition: color .2s ease, background-color .2s ease;
    -webkit-tap-highlight-color: transparent;
}
.fb-copy:hover { color: var(--accent-dark); background: var(--accent-soft); }
.fb-copy:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 1px; }
.fb-copy.copied { color: #2E7D32; }
.fb-copy svg { pointer-events: none; }

/* QQ 群号 / 邮箱显示行：与 .fb-card-btn 同宽同高，三卡底部对齐 */
.fb-qq-row { display: flex; align-items: center; width: calc(100% + 70px); margin-left: -70px; }
.fb-qq-num {
    position: relative; display: inline-flex; align-items: center; justify-content: space-between;
    flex: 1; min-width: 0; min-height: 40px;
    font-family: 'JetBrains Mono', ui-monospace, Consolas, monospace;
    font-size: 15px; font-weight: 700; color: var(--dark);
    background: var(--bg-top); border: 1px solid var(--line);
    padding: 0 9px 0 12px; border-radius: 10px;
    letter-spacing: 0.5px;
}
.fb-qq-num span { padding-right: 4px; }
.fb-mail-link {
    min-width: 0; padding-right: 6px; color: inherit; text-decoration: none;
    border-radius: 4px; font-size: 13.5px; letter-spacing: 0;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.fb-mail-link:hover { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 2px; }
.fb-mail-link:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 2px; }

/* 三张卡中 GitHub 是 <a>，QQ / 邮箱是 <div>，hover 时行为一致 */
.fb-card.fb-card:hover { border-color: var(--accent); }

@media (max-width: 980px) {
    .fb-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
    .fb-cards { grid-template-columns: 1fr; gap: 14px; }
}

/* ---------- 感谢页 ---------- */
/* 整页单屏：导航与页脚分居两端，内容区占据剩余高度并垂直居中 */
body.page-thanks { min-height: 100vh; display: flex; flex-direction: column; }
body.page-thanks main { flex: 1 0 auto; display: flex; flex-direction: column; }
body.page-thanks main > .screen { flex: 1; padding: 44px 0; }
/* 收紧感谢页留白，保证内容与页脚同屏 */
body.page-thanks .thanks-block { margin-top: 30px; }
body.page-thanks .thanks-steps { margin-top: 16px; gap: 12px; }

.thanks { max-width: 720px; margin: 0 auto; text-align: center; }
/* 顶部行：返回按钮居左、对勾标记居中；左右等宽轨道保证标记始终居中 */
.thanks-top {
    display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center; gap: 16px; margin-bottom: 30px;
}
.thanks-back { justify-self: start; white-space: nowrap; }
/* 对勾标记：细描边环 + 描边对勾，不用实心底圆（与全站去框去线的语言一致） */
.thanks-mark {
    justify-self: center;
    width: 64px; height: 64px; margin: 0;
    border: 1px solid var(--accent); border-radius: 50%;
    color: var(--accent);
    display: flex; align-items: center; justify-content: center;
}
.thanks-mark svg { width: 26px; height: 26px; }
.thanks-title { font-size: clamp(28px, 4vw, 44px); letter-spacing: -.02em; }
.thanks-auto {
    display: inline-flex; align-items: center; gap: 9px;
    margin-top: 22px; padding: 10px 20px; border-radius: 999px;
    background: var(--accent-soft); color: var(--accent-dark);
    font-size: 14.5px; font-weight: 600;
}
.thanks-auto[hidden] { display: none; }
.thanks-auto::before {
    content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
    animation: thanksPulse 1.2s ease-in-out infinite;
}
@keyframes thanksPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .35; transform: scale(.8); }
}
.thanks-block { margin-top: 42px; }
.thanks-h2 { font-size: 14px; color: var(--faint); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
/* 三步：三张细边框小卡片并排，整块随 .thanks 宽度居中；
   01/02/03 亮青序号作眉标，不加阴影，保持全站扁平语言 */
.thanks-steps {
    list-style: none; counter-reset: step; padding: 0; margin: 22px auto 0;
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
}
.thanks-steps li {
    counter-increment: step;
    display: flex; flex-direction: column; align-items: center; gap: 7px;
    background: var(--white);
    border: 1px solid var(--line); border-radius: 12px;
    padding: 16px 14px;
    font-size: 14.5px; line-height: 1.55; color: var(--sub);
}
.thanks-steps li::before {
    content: counter(step, decimal-leading-zero);
    font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums;
    color: var(--accent); line-height: 1;
}
/* ============================================================
   隐私政策页：与感谢页同源的独立页，正文为单一政策版本
   ============================================================ */
body.page-policy { min-height: 100vh; display: flex; flex-direction: column; }
body.page-policy main { flex: 1 0 auto; display: flex; flex-direction: column; }
body.page-policy main > .screen { flex: 1; padding: 44px 0; }

.policy { max-width: 820px; margin: 0 auto; }
.policy-top { display: flex; margin-bottom: 22px; }
.policy-back { white-space: nowrap; }
.policy-head { text-align: center; }
.policy-title { font-size: clamp(28px, 4vw, 42px); letter-spacing: -.02em; }
.policy-sub { margin-top: 14px; color: var(--sub); font-size: 15.5px; }

.policy-docs { margin-top: 30px; }
.policy-doc {
    background: var(--white);
    border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 34px 40px;
    box-shadow: var(--shadow-sm);
    animation: dlPanelIn .3s ease both;
}
.policy-doc h2 { font-size: 21px; }
.policy-doc-date { margin-top: 8px; color: var(--faint); font-size: 13px; }
.policy-doc h3 { margin: 28px 0 10px; font-size: 17px; }
.policy-doc p,
.policy-doc ul,
.policy-doc ol { margin: 0 0 12px; color: var(--sub); font-size: 15px; line-height: 1.85; }
.policy-doc ul,
.policy-doc ol { padding-left: 22px; }
.policy-doc li { margin-bottom: 6px; }
.policy-doc li::marker { color: var(--accent); }
.policy-doc strong { color: var(--dark); }
.policy-doc code {
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 13px;
    padding: 1px 6px; border: 1px solid var(--line); border-radius: 6px;
    background: var(--bg-top); color: var(--accent-dark);
}
.policy-doc a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; word-break: break-all; }
/* 末段「简而言之」：细线分隔 + 左侧 accent 短线的结论块（相邻选择器，无需额外类名） */
.policy-doc hr { border: 0; border-top: 1px solid var(--line); margin: 26px 0; }
.policy-doc hr + p {
    background: var(--bg-top); border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0;
    padding: 13px 16px; color: var(--dark); font-size: 14.5px;
}

/* 矮视口（如未最大化的笔记本窗口）：再压一档，确保感谢内容与页脚同屏 */
@media (max-height: 780px) {
    body.page-thanks main > .screen { padding: 18px 0; }
    body.page-thanks .thanks-mark { width: 48px; height: 48px; }
    body.page-thanks .thanks-mark svg { width: 20px; height: 20px; }
    body.page-thanks .thanks-top { margin-bottom: 18px; }
    body.page-thanks .thanks-title { font-size: clamp(22px, 3.2vw, 32px); }
    body.page-thanks .thanks-auto { margin-top: 16px; padding: 8px 18px; }
    body.page-thanks .thanks-block { margin-top: 16px; }
    body.page-thanks .thanks-steps { margin-top: 14px; gap: 11px; }
    body.page-thanks .footer { padding: 24px 0; }
}

/* ---------- 404 页面兼容（沿用既有类名） ---------- */
.version-badge {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12.5px; font-weight: 600;
    color: var(--accent-dark); background: var(--accent-soft);
    border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px;
}
.section-subtitle { color: var(--sub); font-size: 15px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
    .cards-3, .cards-4 { grid-template-columns: repeat(2, 1fr); }
    .seg { padding: 76px 0; }
    .tabs { gap: 2px; }
    .tab { padding: 8px 12px; font-size: 14px; }

    /* 顶栏防挤压：品牌与图标不参与压缩（否则窄宽度下被挤扁），
       标签行可横向滑动并隐藏滚动条，溢出由标签行自己吸收，
       不会转移到整页造成横向滚动 */
    .brand,
    .brand img { flex: 0 0 auto; }
    .tabs {
        min-width: 0;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;        /* Firefox */
        -ms-overflow-style: none;     /* 旧版 Edge */
    }
    .tabs::-webkit-scrollbar { display: none; }
    .tab { white-space: nowrap; flex: 0 0 auto; }
    .lang { flex: 0 0 auto; }

    .split { grid-template-columns: 1fr; gap: 36px; }
    .split.flip .split-media { order: 0; }
    .demos { grid-template-columns: 1fr; }
    .webui { grid-template-columns: 1fr; gap: 30px; margin-top: 44px; }
    .webui-text { max-width: none; padding-left: 0; }
    .webui-media { justify-self: center; padding-right: 0; }
    .dots { display: none; }
    /* 能力清单：三列降两列 */
    .tiles { grid-template-columns: repeat(2, 1fr); column-gap: 36px; row-gap: 32px; }
    .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 26px; }

    /* 信任行：改两列，避免四项挤在一行 */
    .trust-row { gap: 28px; }
    .trust-row li { flex: 1 1 44%; min-width: 150px; }

    .sec-head { margin-bottom: 36px; }
    .scene-row { column-gap: 32px; }
}
@media (max-width: 620px) {
    /* 容器与分段：收窄左右边距与上下留白，把宽度让给内容 */
    .container { padding: 0 16px; }
    .screen { padding: 56px 0; }
    /* 移动端以 svh 为准，避免地址栏导致「整屏段」偏高 */
    .screen.hero-min,
    .screen#download { min-height: calc(100svh - var(--nav-h)); }

    /* 顶栏：品牌只留图标、标签行收紧（横向滑动与防压缩规则见上方 900px 块） */
    .navbar .container { gap: 10px; }
    .brand span { display: none; }
    .brand img { width: 26px; height: 26px; }
    .tabs { gap: 0; }
    .tab { padding: 7px 8px; font-size: 13px; }
    .lang { margin-left: 2px; --opt-w: 36px; }

    /* 首屏：下调字号下限，避免 LANSyncBox 横向溢出 */
    .hero-min .title { font-size: clamp(34px, 11vw, 56px); margin-bottom: 20px; }
    .hero-min .tagline { margin-bottom: 34px; }

    /* 能力清单：改单列，靠行距分格 */
    .tiles { grid-template-columns: 1fr; row-gap: 26px; }

    /* 收尾横带：按钮换行后占满整行 */
    .outro { padding: 0 0 56px; }
    .outro .band { padding: 20px 22px; gap: 18px; }
    .outro .btn { width: 100%; justify-content: center; }

    .cards-2, .cards-3, .cards-4 { grid-template-columns: 1fr; }
    .dl-ms-badge { height: 34px; }

    /* 感谢页：顶部行改单列，返回按钮不再与标记争抢同一行宽度 */
    .thanks-top { grid-template-columns: 1fr; justify-items: center; gap: 14px; }
    .thanks-back { justify-self: center; }
    /* 隐私政策页：正文卡片收窄内边距，标题与副标题压一档 */
    body.page-policy main > .screen { padding: 24px 0; }
    .policy-doc { padding: 24px 20px; }
    .policy-sub { font-size: 14.5px; }
    body.page-policy .footer { padding: 24px 0; }
    /* 感谢页三步：窄屏放不下三列并排，卡片改纵向单列，整块仍居中 */
    .thanks-steps { grid-template-columns: 1fr; gap: 9px; }
    .thanks-steps li { flex-direction: row; align-items: baseline; gap: 12px; padding: 13px 16px; }

    /* 页脚：两列布局下收窄留白，底行改上下排；品牌名保持可见 */
    .footer { padding: 40px 0 26px; }
    .footer-cols { gap: 26px 20px; }
    .footer .brand span { display: inline; }
    .footer-bottom { flex-direction: column; gap: 6px; }

    /* 信任行：保持两列（极窄屏才会因 min-width 自动退成单列）；使用场景：标签独立成行；FAQ：收窄留白 */
    .trust-band { padding: 32px 0 36px; }
    .trust-row li { flex: 1 1 44%; }
    .trust-row b { font-size: 18px; }
    .sec-head { margin-bottom: 30px; }
    .scene-list { row-gap: 26px; }
    .scene-row { grid-template-columns: 1fr; row-gap: 3px; }
    .faq summary { padding: 17px 38px 17px 0; font-size: 15.5px; }
    .faq .ans { padding-bottom: 20px; }
}

/* 极窄机型（≤400px）：再压一档，保证顶栏不溢出 */
@media (max-width: 400px) {
    .tab { padding: 6px 7px; font-size: 12.5px; }
    .lang { --opt-w: 34px; }
    .brand img { width: 24px; height: 24px; }
}

@media (prefers-reduced-motion: reduce) {
    .tab-underline { transition: none; }
    .demo img { animation: none; }
    .dl-row-btn,
    .dl-row-btn svg { transition: none; }
    .policy-doc { animation: none; }
    .thanks-auto::before { animation: none; }
    .faq summary,
    .faq summary::before,
    .faq summary::after,
    .faq .ans,
    .tile-ico,
    .tile h3 { transition: none; }
}
