/*
  抖小宝官网静态页样式。
  设计稿源文件多为 3840px 宽的 2x 截图，红线标注按 1920px CSS 画布计算。
  首屏 001.png 使用背景图自适应铺满，不参与 DOM 布局；其它模块图片继续按设计标注等比落位。
*/
:root {
  --page-width: 1920px;
  --shell-width: 1215px;
  /*
    功能详情大卡原图是 2430x1100；设计师 2K 标注按半尺寸 1215x550 落地。
    宽屏下卡片宽度按视口从 1215px 平滑放大到 2200px。
    中间值使用 2200 / 3840 = 57.291667vw，而不是原 2430 / 3840，否则浏览器宽度未触顶时看起来不会变窄。
  */
  --tool-panel-width: clamp(1215px, 57.291667vw, 2200px);
  /*
    卡片高度仍按设计师切图原始高度从 550px 放大到 1100px。
    这样宽度收窄到 2200px 时，内部截图不用继续等比压小，4K 下清晰度更接近原始切图。
  */
  --tool-panel-height: clamp(550px, 28.645833vw, 1100px);
  /*
    首屏功能入口和下方功能详情大卡共用同一套横向宽度节奏。
    间距随屏幕轻微放大，保证 2K 是 10px、4K 接近 18px，不会因为只放大卡片而显得过密。
  */
  --feature-card-gap: clamp(10px, 0.46875vw, 18px);
  --page-bg: #F6F9FE;
  --ink: #07175b;
  --muted: #68769b;
  --brand-blue: #426cff;
  --brand-cyan: #12b7ea;
  --footer-bg: #101728;
  --shadow-blue: 0 14px 30px rgba(57, 92, 255, 0.13);
  --button-c1: #5a6bff;
  --button-c2: #6a4bff;
  --button-c3: #9b5cff;
  --button-cyan: #3ad0ff;
  --button-shadow: 0 10px 24px rgba(73, 85, 255, 0.4);
  /*
    下面几组变量由页面脚本在滚动时更新。
    CSS 只读取变量做位移和进度反馈，避免脚本直接操作复杂动画样式。
  */
  --scroll-progress: 0;
  --hero-bg-y: 0px;
  --hero-copy-y: 0px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
  scrollbar-color: #6473ff #eaf1ff;
  scrollbar-width: thin;
}

body {
  margin: 0;
  min-width: 1280px;
  color: var(--ink);
  background: var(--page-bg);
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

/*
  原生滚动条做轻量品牌化处理，让滚动本身也成为页面动效的一部分。
  颜色保持低饱和，避免抢首屏 CTA 和产品截图的主视觉权重。
*/
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #eaf1ff;
}

::-webkit-scrollbar-thumb {
  border: 2px solid #eaf1ff;
  border-radius: 999px;
  background: linear-gradient(180deg, #5a6bff 0%, #2fc7e8 100%);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #465dff 0%, #17afd9 100%);
}

/*
  顶部滚动进度条固定在浏览器顶部，不改变页面文档流。
  使用 transform: scaleX 可以让进度更新只走合成层，滚动时更稳。
*/
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: 3px;
  pointer-events: none;
  background: linear-gradient(90deg, #5365ff 0%, #28c9e8 55%, #9b5cff 100%);
  box-shadow: 0 0 18px rgba(58, 117, 255, 0.38);
  transform: scaleX(var(--scroll-progress));
  transform-origin: left center;
  transition: transform 0.08s linear;
}

.site-page {
  min-height: 4428px;
  overflow: hidden;
  background: var(--page-bg);
}

.shell {
  width: var(--shell-width);
  margin: 0 auto;
}

/*
  首屏底图按用户要求改为 CSS 背景图。
  001.png 原始尺寸为 3840x1442，背景使用 cover 保持比例自适应铺满首屏；
  首屏桌面端保留 820px 最小高度，给下移后的功能入口卡片和下一屏标题之间留出完整空间。
*/
.hero-section {
  position: relative;
  height: clamp(820px, 37.552083vw, 1442px);
  overflow: hidden;
  background-color: #eef6ff;
  /*
    首屏背景图走官方 CDN，保证 index.html 即使和静态资源分开部署，也不会依赖本地 www_assets 目录。
  */
  background-image: url("https://web.douxiaobao.com/www_assets/001.png");
  background-position: center calc(0px - var(--hero-bg-y));
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-section::before {
  /*
    首屏只加一层很轻的光带扫过背景，用来增强官网的开场质感。
    光带放在背景与正文之间，且不接收鼠标事件，避免干扰按钮点击。
  */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      112deg,
      transparent 0%,
      transparent 34%,
      rgba(255, 255, 255, 0.34) 46%,
      transparent 58%,
      transparent 100%
    );
  mix-blend-mode: screen;
  opacity: 0.65;
  transform: translateX(-95%);
  animation: hero-light-sweep 7.5s ease-in-out 0.8s infinite;
}

.hero-section::after {
  /*
    首屏背景图底部和下一段浅色页面背景不是同一个色值，滚动视差后会在交界处出现横向断层。
    底部渐变遮罩只盖背景层，不盖住文案和功能入口卡片，让首屏自然过渡到 --page-bg。
  */
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: clamp(120px, 7.8125vw, 260px);
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(246, 249, 254, 0) 0%,
    rgba(246, 249, 254, 0.62) 58%,
    var(--page-bg) 100%
  );
}

.site-header {
  /*
    顶部栏改为固定层，滚动进入内容区后仍保留品牌和下载入口。
    默认透明贴合首屏，滚动后脚本添加 is-scrolled 展示玻璃态背景。
  */
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  width: 100%;
  height: 88px;
  transition:
    background-color 0.28s ease,
    box-shadow 0.28s ease,
    backdrop-filter 0.28s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 34px rgba(33, 61, 145, 0.12);
  -webkit-backdrop-filter: blur(16px) saturate(1.22);
  backdrop-filter: blur(16px) saturate(1.22);
}

.header-inner {
  /*
    首屏头部使用和功能入口、功能详情卡一致的横向宽度。
    这样 logo、右上下载按钮会和下方主内容边界形成统一参考线，宽屏下页面更整齐。
  */
  width: var(--tool-panel-width);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-dark {
  margin-left: 11px;
  transform: translateY(-1px);
}

.brand-logo {
  /*
    logo.svg 是设计师提供的完整品牌切图，顶部只控制显示尺寸和位置，
    不再拆开图标、文字和域名单独绘制，避免与原始 logo 的字形/间距不一致。
  */
  width: 260px;
  height: auto;
}

.download-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 36px;
  margin-right: 0;
  border-radius: 18px;
  color: #fff;
  /*
    顶部下载按钮保留原设计尺寸，具体背景和动效交给统一按钮动效规则控制。
    这样后续替换按钮视觉时不会影响头部 flex 布局和右侧对齐位置。
  */
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
}

.download-pill:hover,
.download-pill:focus-visible {
  outline: none;
}

.hero-copy {
  position: absolute;
  /*
    首屏 CTA 必须高于下方功能入口卡片。
    在 4K + 200% 系统缩放时，CSS 视口约等于 1920px，两个区域会更接近；提高层级可避免按钮被后渲染的卡片盖住。
  */
  z-index: 3;
  /*
    首屏主文案和顶部 logo 共用同一条左侧基准线。
    007.png、说明文字和“免费下载体验”按钮内部仍保留原来的 11-12px 微调，避免破坏设计稿字图间距。
    主文案整体略向下，给顶部 logo 和主视觉标题之间留出更均衡的空气感。
  */
  width: var(--tool-panel-width);
  top: 260px;
  left: 50%;
  transform: translateX(-50%) translateY(var(--hero-copy-y));
  transition: transform 0.12s linear;
  will-change: transform;
}

.hero-title {
  /*
    007.png 原图为 1330x123，桌面端按用户要求放大到 760px 宽。
    高度同步按比例取 70px，避免 h1 容器仍按旧 665px 宽度时裁切或压缩标题图。
    标题图是首屏第一视觉，所以这里给它独立的入场动效承载层：
    h1 负责整体滚动揭示，内部图片和伪元素负责更明显的聚焦、光晕和扫光。
  */
  position: relative;
  isolation: isolate;
  width: 760px;
  height: 70px;
  margin: 0 0 0 11px;
}

.hero-title::before,
.hero-title::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero-title::before {
  /*
    标题出现时在底部铺一层短暂蓝紫光晕，让 007.png 的入场不只依赖透明度变化。
    光晕只在入场阶段出现，最终回到很轻的状态，避免首屏标题长期发虚。
  */
  right: 36px;
  bottom: -18px;
  left: 4px;
  z-index: 0;
  height: 32px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(32, 188, 236, 0.38), rgba(89, 96, 255, 0.32), rgba(155, 92, 255, 0.18));
  filter: blur(18px);
  opacity: 0;
  transform: scaleX(0.42);
  transform-origin: left center;
}

.hero-title::after {
  /*
    高光扫过时使用 007.png 自身做 mask，只让亮光出现在标题图形上。
    如果后续替换标题图，这里同步换同一张素材即可，不需要额外切一张高光图。
  */
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    108deg,
    transparent 0%,
    transparent 34%,
    rgba(255, 255, 255, 0.82) 47%,
    rgba(61, 215, 255, 0.42) 52%,
    transparent 66%,
    transparent 100%
  );
  background-size: 260% 100%;
  background-position: -170% 0;
  -webkit-mask-image: url("https://web.douxiaobao.com/www_assets/007.png");
  mask-image: url("https://web.douxiaobao.com/www_assets/007.png");
  -webkit-mask-position: left top;
  mask-position: left top;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 760px auto;
  mask-size: 760px auto;
  opacity: 0;
}

.hero-title img {
  position: relative;
  z-index: 1;
  width: 760px;
  height: auto;
  transform-origin: left center;
  will-change: transform, filter, opacity;
}

.hero-title.motion-reveal.is-revealed::before {
  animation: hero-title-glow 1.15s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

.hero-title.motion-reveal.is-revealed::after {
  animation: hero-title-mask-shine 1.28s cubic-bezier(0.22, 1, 0.36, 1) 0.38s both;
}

.hero-title.motion-reveal.is-revealed img {
  animation: hero-title-focus-in 1.08s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-subtitle {
  /*
    标题图和副标题都放大后，增加上方间距，让主标题组的层次不挤在一起。
  */
  margin: 22px 0 0 12px;
  color: #06115d;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-subtitle strong {
  color: #3558ff;
  font-weight: 800;
}

.hero-desc {
  margin: 40px 0 0 12px;
  color: #4d5d78;
  font-size: 16px;
  line-height: 31px;
}

.primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /*
    首屏“免费下载体验”和功能详情里的“体验xxx”按钮共用同一套尺寸规则。
    4K 150% 缩放时按钮会随 CSS 视口放大；4K 200% 缩放约等于 1920px 视口时仍保持 220x55 的设计稿下限。
  */
  width: clamp(220px, 11.458333vw, 440px);
  height: clamp(55px, 2.864583vw, 110px);
  border-radius: clamp(28px, 1.458333vw, 56px);
  color: #fff;
  /*
    主按钮只定义可点击区域、字号和圆角，视觉动效统一由合成按钮规则提供。
    这样首屏 CTA 和功能详情 CTA 能共享同一套渐变流动与液态填充反馈。
  */
  font-size: clamp(19px, 0.989583vw, 38px);
  font-weight: 800;
  letter-spacing: 1px;
}

.primary-cta:hover,
.primary-cta:focus-visible {
  outline: none;
}

.hero-cta {
  /*
    首屏下载按钮和说明文案之间需要更大的上下间距，避免按钮贴近两行说明文字。
  */
  margin: 72px 0 0 12px;
}

.feature-nav {
  position: absolute;
  z-index: 2;
  left: 50%;
  /*
    设计师标注的 top=560px 基于 1920px 宽的 2K 画布。
    更宽的 4K 画布会让首屏背景按比例放大，因此这里用 560 / 1920 = 29.166667vw 换算纵向位置；
    clamp 保证普通桌面不小于设计稿坐标，4K 宽屏最多按 2x 放到 1120px。
  */
  top: clamp(560px, 29.166667vw, 1120px);
  width: var(--tool-panel-width);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--feature-card-gap);
  transform: translateX(-50%);
}

.feature-card {
  position: relative;
  display: block;
  width: 100%;
  /*
    卡片内部使用变量统一计算横向居中：图标、文字块、按钮都围绕卡片中心线排列。
    这些变量保留 2K 设计稿尺寸作为下限，宽屏时按同一比例轻微放大。
  */
  --feature-icon-size: clamp(72px, 3.385417vw, 130px);
  --feature-text-width: clamp(136px, 6.40625vw, 246px);
  --feature-button-width: clamp(106px, 5vw, 192px);
  --feature-inner-gap: clamp(8px, 0.416667vw, 16px);
  --feature-group-width: calc(var(--feature-icon-size) + var(--feature-inner-gap) + var(--feature-text-width));
  /*
    首屏入口卡片随整排宽度等比放大，2K 下仍是 235x160。
    用 aspect-ratio 让 4K 宽屏和下方 .tool-panel 对齐时不会把卡片压扁或拉高失衡。
  */
  aspect-ratio: 235 / 160;
  height: auto;
  padding: 0;
  border-radius: clamp(12px, 0.572917vw, 22px);
  background: #fff;
  /*
    首屏功能卡片的动效参考“数据总览方案.html”中的清爽白卡样式。
    默认状态使用和 .tool-panel 一致的淡阴影，让白卡从浅色背景中轻微浮起；
    hover 时继续切换到更明显的蓝色阴影和轻微上浮，保留当前交互反馈。
  */
  box-shadow: 0 10px 24px rgba(57, 92, 255, 0.07);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  will-change: transform;
}

.feature-card:hover,
.feature-card:focus-within {
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}

.feature-card img {
  /*
    首屏五个功能图标素材本身是 160x160，并包含较大的透明投影范围。
    设计稿中的视觉图标比之前的 50px 更大，所以用 72px 图标盒并固定左上坐标，避免透明边界导致图标看起来偏小、偏位。
  */
  position: absolute;
  left: calc(50% - (var(--feature-group-width) / 2));
  top: clamp(28px, 1.354167vw, 52px);
  width: var(--feature-icon-size);
  height: var(--feature-icon-size);
  object-fit: contain;
}

.feature-card > div {
  /*
    文字块跟随“图标 + 间距 + 文字”的整体宽度居中。
    按钮稍后再通过 margin-left 反向校正到整张卡片中心，避免只和文字块左对齐。
  */
  position: absolute;
  left: calc(50% - (var(--feature-group-width) / 2) + var(--feature-icon-size) + var(--feature-inner-gap));
  top: clamp(43px, 2.03125vw, 78px);
  width: var(--feature-text-width);
}

.feature-card h2 {
  margin: 0;
  color: #101b59;
  font-size: clamp(18px, 0.833333vw, 32px);
  font-weight: 800;
  line-height: clamp(24px, 1.119792vw, 43px);
}

.feature-card p {
  margin: clamp(4px, 0.208333vw, 8px) 0 clamp(22px, 1.041667vw, 40px);
  color: #24315f;
  font-size: clamp(13px, 0.625vw, 24px);
  line-height: clamp(18px, 0.859375vw, 33px);
  white-space: nowrap;
}

.feature-detail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--feature-button-width);
  height: clamp(30px, 1.40625vw, 54px);
  margin-left: calc((var(--feature-group-width) / 2) - var(--feature-icon-size) - var(--feature-inner-gap) - (var(--feature-button-width) / 2));
  /*
    用户要求只上移按钮，文案位置保持不变。
    使用 translateY 不影响按钮在卡片中的水平居中计算，也不会改变文字块的排版高度。
  */
  transform: translateY(clamp(-18px, -0.520833vw, -10px));
  border-radius: clamp(15px, 0.703125vw, 27px);
  color: #8a96b7;
  background: #f3f7ff;
  font-size: clamp(13px, 0.625vw, 24px);
}

.feature-detail::after {
  margin-left: clamp(8px, 0.364583vw, 14px);
  content: ">";
  color: #a1acc8;
  font-weight: 700;
}

.feature-detail:hover,
.feature-detail:focus-visible {
  color: #556dff;
  background: #edf3ff;
  outline: none;
}

/*
  页面所有按钮统一使用“按钮动效-合成版”中的核心视觉：
  默认状态是蓝紫渐变持续流动，hover/focus 时用伪元素从底部做液态填充。
  这里统一作用在下载按钮和主 CTA 上，首屏功能卡里的“功能详情”保持设计稿原本的浅色胶囊样式。
*/
.download-pill,
.primary-cta {
  position: relative;
  border: none;
  cursor: pointer;
  background: linear-gradient(90deg, var(--button-c1), var(--button-c2), var(--button-c3), var(--button-c1));
  background-size: 300% 100%;
  box-shadow: var(--button-shadow);
  animation: button-gradient-flow 4s linear infinite;
  isolation: isolate;
  overflow: hidden;
  white-space: nowrap;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  will-change: transform;
}

.download-pill::before,
.primary-cta::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  width: 100%;
  height: 0;
  border-radius: 42% 42% 0 0 / 22px;
  background: linear-gradient(180deg, var(--button-c3), var(--button-cyan));
  pointer-events: none;
  transition:
    height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    border-radius 0.5s ease;
}

.btn-text {
  position: relative;
  z-index: 2;
}

.download-pill:hover::before,
.download-pill:focus-visible::before,
.primary-cta:hover::before,
.primary-cta:focus-visible::before {
  height: 150%;
  border-radius: 0;
}

.download-pill:hover,
.download-pill:focus-visible,
.primary-cta:hover,
.primary-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--button-shadow);
  outline: none;
}

.download-pill:active,
.primary-cta:active {
  transform: translateY(1px);
}

@keyframes button-gradient-flow {
  to {
    background-position: 300% 0;
  }
}

@keyframes hero-light-sweep {
  0%,
  42% {
    transform: translateX(-95%);
  }

  58%,
  100% {
    transform: translateX(95%);
  }
}

@keyframes hero-title-focus-in {
  /*
    007.png 本体先轻微放大并从左下进入，再回落到设计稿坐标。
    动效幅度比通用 reveal 更明显，但最终不改变图片尺寸和布局。
  */
  0% {
    opacity: 0.22;
    filter: blur(8px) saturate(1.08) drop-shadow(0 18px 26px rgba(58, 98, 255, 0));
    transform: translate3d(-28px, 18px, 0) scale(0.92);
  }

  54% {
    opacity: 1;
    filter: blur(0) saturate(1.16) drop-shadow(0 16px 26px rgba(58, 98, 255, 0.22));
    transform: translate3d(0, -3px, 0) scale(1.025);
  }

  100% {
    opacity: 1;
    filter: blur(0) saturate(1) drop-shadow(0 9px 18px rgba(58, 98, 255, 0.08));
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes hero-title-glow {
  /*
    光晕先展开再收弱，用来提示标题完成加载。
    最后一帧保留少量透明度，让标题和浅色背景之间有一点层次。
  */
  0% {
    opacity: 0;
    transform: scaleX(0.42);
  }

  42% {
    opacity: 0.72;
    transform: scaleX(1);
  }

  100% {
    opacity: 0.14;
    transform: scaleX(0.94);
  }
}

@keyframes hero-title-mask-shine {
  /*
    高光只扫过被 007.png 遮罩覆盖的标题像素，避免出现一整块矩形光斑。
    扫光延迟到标题本体基本落位后再开始，视觉上更像“加载完成”的确认。
  */
  0% {
    opacity: 0;
    background-position: -170% 0;
  }

  18% {
    opacity: 0.9;
  }

  100% {
    opacity: 0;
    background-position: 170% 0;
  }
}

@keyframes panel-light-sweep {
  0% {
    opacity: 0;
    transform: translateX(-120%);
  }

  22% {
    opacity: 0.88;
  }

  100% {
    opacity: 0;
    transform: translateX(120%);
  }
}

.tools-section {
  padding-top: 46px;
}

.section-heading {
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  color: #06115d;
  font-size: 34px;
  font-weight: 800;
  line-height: 46px;
}

.section-heading p {
  margin: 8px 0 0;
  color: #7a86a4;
  font-size: 17px;
  line-height: 26px;
}

.tool-panels {
  width: var(--tool-panel-width);
  margin: clamp(55px, 2.864583vw, 110px) auto 0;
  /*
    每个 .tool-panel 都是一张完整的功能展示大卡片。
    这里在父容器统一设置间距：2K 保持用户指定的 60px，4K 跟随卡片等比放大到 120px。
    统一由父容器控制也避免逐张卡片写 margin 导致首尾边距难以控制。
  */
  display: flex;
  flex-direction: column;
  gap: clamp(60px, 3.125vw, 120px);
}

.tool-panel {
  position: relative;
  width: 100%;
  height: var(--tool-panel-height);
  /*
    大卡片内部视差由脚本按滚动位置写入变量。
    默认值为 0，脚本未执行或用户开启低动效时仍是完全稳定的静态布局。
  */
  --panel-bg-y: 0px;
  --panel-copy-y: 0px;
  /*
    中部功能大图的外层白色背景来自 008-012 切图本身，不能直接改资源图。
    外层宽度按页面视觉收窄到 2200px，但高度仍跟随 1100px 原始切图比例放大；
    多出的横向空白由 overflow 裁掉，避免把内部产品截图继续压小导致清晰度下降。
  */
  overflow: hidden;
  border-radius: 12px;
  /*
    功能详情大卡片在静态状态下就保留一层轻阴影，强调白卡从浅色背景中浮起。
    阴影强度刻意低于原 hover 阴影，避免页面默认状态显得厚重。
  */
  box-shadow: 0 10px 10px rgba(57, 92, 255, 0.03);
  /* 功能入口使用页内锚点跳转到对应主卡，预留滚动余量让标题区不会贴住视口顶端。 */
  scroll-margin-top: 104px;
}

.tool-panel::before {
  /*
    卡片揭示时的扫光只出现一次，用来强调“产品界面被展示出来”的瞬间。
    伪元素位于截图上方、文案下方，不会覆盖按钮文字，也不会拦截点击。
  */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(
      108deg,
      transparent 0%,
      transparent 35%,
      rgba(255, 255, 255, 0.52) 48%,
      transparent 61%,
      transparent 100%
    );
  opacity: 0;
  transform: translateX(-120%);
}

.tool-panel.is-revealed::before {
  animation: panel-light-sweep 1.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.tool-panel:hover,
.tool-panel:focus-within {
  /*
    设计要求此区域移入后不要产生变化，因此 hover/focus 保持和默认态完全一致。
    这样鼠标经过大面积功能卡时页面不会出现跳动或阴影突变。
  */
  box-shadow: 0 10px 24px rgba(57, 92, 255, 0.07);
}

.panel-bg {
  position: absolute;
  inset: 0;
  width: auto;
  height: 100%;
  max-width: none;
  border-radius: inherit;
  object-fit: contain;
  object-position: left top;
  pointer-events: none;
  user-select: none;
  transform: translate3d(0, var(--panel-bg-y), 0) scale(1.018);
  transform-origin: center center;
  transition: transform 0.16s linear;
  will-change: transform;
}

/*
  文案层只覆盖截图留白处，不参与产品截图绘制。
  左右两套坐标来自最终稿中的大标题像素位置，避免五张主卡出现错位感。
*/
.panel-copy {
  position: absolute;
  z-index: 3;
  /*
    文案层随功能大卡一起从 2K 半尺寸放大到 4K 原图尺寸。
    用 clamp 而不是 transform，是为了保持文字真实字号、按钮可点击区域和换行宽度都同步变大。
  */
  width: clamp(372px, 19.375vw, 744px);
  transform: translate3d(0, var(--panel-copy-y), 0);
  transition: transform 0.16s linear;
  will-change: transform;
}

.copy-right {
  /*
    右侧方案文案原坐标按 2430px 宽图计算；卡片最大宽度收窄到 2200px 后，
    继续使用 1460px 会让文案贴近右边缘；但过度左移又会压到左侧产品截图。
    这里取中间位置，让方案区和截图保持分离，同时右侧仍保留安全留白。
  */
  left: clamp(710px, 35.9375vw, 1380px);
  top: clamp(105px, 5.46875vw, 210px);
}

.copy-left {
  left: clamp(96px, 5vw, 192px);
  top: clamp(105px, 5.46875vw, 210px);
}

.copy-low {
  top: clamp(124px, 6.458333vw, 248px);
}

.panel-copy h3 {
  margin: 0;
  color: transparent;
  background: linear-gradient(90deg, #10c6e9 0%, #435dff 86%);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(31px, 1.614583vw, 62px);
  font-weight: 800;
  line-height: clamp(38px, 1.979167vw, 76px);
}

.panel-kicker {
  /*
    副标题到方案正文的距离收窄，避免 4K 放大后说明区出现过大的竖向空白。
  */
  margin: clamp(6px, 0.3125vw, 12px) 0 clamp(24px, 1.25vw, 48px);
  color: #2c87f6;
  font-size: clamp(18px, 0.9375vw, 36px);
  font-weight: 700;
  line-height: clamp(26px, 1.354167vw, 52px);
}

.panel-copy ol {
  margin: 0;
  padding: 0;
  list-style-position: inside;
}

.panel-copy li,
.panel-text {
  /*
    方案正文在 4K 自适应卡片里仍偏大，继续降一号并收紧行高。
    按钮尺寸保持不变，只让文字块更接近设计稿里的说明文本比例。
  */
  margin: 0 0 clamp(10px, 0.520833vw, 20px);
  color: #0d1d58;
  font-size: clamp(13px, 0.625vw, 24px);
  line-height: clamp(24px, 1.197917vw, 46px);
}

.panel-copy li strong {
  font-weight: 800;
}

.panel-cta {
  width: clamp(220px, 11.458333vw, 440px);
  height: clamp(55px, 2.864583vw, 110px);
  margin-top: clamp(12px, 0.625vw, 24px);
  border-radius: clamp(28px, 1.458333vw, 56px);
  font-size: clamp(19px, 0.989583vw, 38px);
}

.copy-left .panel-cta {
  margin-top: clamp(14px, 0.729167vw, 28px);
}

/*
  蓝紫到青色的优势区展示 6 个独立优势卡片。
  桌面端按 3 列 2 行排列，每个 article 都是单独白卡，避免把六项挤在一个长条容器里。
*/
.ai-section {
  /*
    优势区底部需要和顶部留白保持同一呼吸感。
    这里用固定高度承接 2K 设计稿节奏：78px 顶部留白 + 标题区 + 两排卡片 + 约 78px 底部留白。
  */
  height: 724px;
  margin-top: 40px;
  color: #fff;
  background: linear-gradient(100deg, #5365ff 0%, #32c9e7 50%, #5967ff 100%);
  background-size: 180% 180%;
  animation: ai-gradient-drift 9s ease-in-out infinite alternate;
}

.ai-inner {
  padding-top: 78px;
  text-align: center;
}

.ai-inner h2 {
  /*
    “为什么选择抖小宝？”是优势区的主标题，放大后在 2K/4K 视口下都能保持明确层级。
  */
  margin: 0;
  color: #fff;
  font-size: 40px;
  font-weight: 800;
  line-height: 50px;
}

.ai-inner > p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  line-height: 24px;
}

.advantage-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 1215px;
  margin-top: 42px;
}

.advantage-card article {
  display: flex;
  min-width: 0;
  height: 210px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(28, 75, 170, 0.12);
  /*
    优势卡片使用和上方功能卡一致的轻浮动交互。
    transform 只影响视觉层，不改变 3x2 网格占位，避免 hover 时相邻卡片抖动。
  */
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  will-change: transform;
}

.advantage-card article:hover,
.advantage-card article:focus-within {
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}

.advantage-card img {
  /*
    图标承载每张优势卡片的第一视觉焦点，适当放大以贴近设计稿的占比。
  */
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.advantage-card article:nth-child(n + 4) img {
  /*
    桌面端底部一排卡片的图标视觉上偏高，单独下移图标以平衡图标、标题和说明之间的间距。
    只移动图片本身，不改变卡片高度和文字位置，避免影响 3x2 网格整体排版。
  */
  transform: translateY(12px);
}

.advantage-card h3 {
  margin: 18px 0 12px;
  color: #07175b;
  font-size: 22px;
  font-weight: 800;
  line-height: 30px;
}

.advantage-card p {
  margin: 0;
  color: #7c88a7;
  font-size: 13px;
  line-height: 28px;
}

.site-footer {
  /*
    页脚底部还包含公司主体和备案链接，不能用固定高度裁切。
    使用 min-height 保留设计稿的基础高度，再用 padding-bottom 给备案行留出完整可见空间。
  */
  min-height: 340px;
  padding-bottom: 28px;
  color: #fff;
  background: var(--footer-bg);
}

.footer-inner {
  display: grid;
  grid-template-columns: 430px 430px 295px;
  column-gap: 30px;
  padding-top: 74px;
}

.footer-brand img {
  width: 270px;
  height: auto;
}

.footer-brand p {
  width: 360px;
  margin: 26px 0 0;
  color: #7280a1;
  font-size: 15px;
  line-height: 29px;
}

.footer-products h2,
.footer-contact h2 {
  margin: 0 0 21px;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  line-height: 28px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer-links ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li {
  margin-bottom: 13px;
  color: #7381a1;
  font-size: 15px;
  line-height: 20px;
}

.contact-row {
  display: flex;
  align-items: flex-start;
}

.contact-row img {
  width: 110px;
  height: 110px;
  margin-right: 25px;
  border-radius: 8px;
}

.contact-row p {
  margin: 6px 0 0;
  color: #7381a1;
  font-size: 15px;
  line-height: 29px;
}

.footer-record {
  /*
    公司主体和备案号是官网资质信息，必须在页脚底部稳定可见。
    这里不使用 motion-reveal，也不依赖脚本添加类，避免用户快速滚到底部时出现备案区透明未显示。
  */
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: var(--shell-width);
  margin: 34px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(188, 199, 229, 0.22);
  /*
    颜色比普通页脚说明更亮，让公司名和备案链接在深色背景下不会被误认为缺失。
    使用 flex 居中排布，后续公司名或备案号长度变化时也能保持在横线下方稳定展示。
  */
  color: #b8c3df;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  line-height: 22px;
}

.footer-record a {
  color: inherit;
  text-decoration: none;
}

.footer-record a:hover,
.footer-record a:focus-visible {
  color: #fff;
  outline: none;
}

/*
  滚动揭示动效由脚本在元素进入视口时添加 is-revealed。
  默认状态只做透明度、位移和轻微模糊，避免影响布局尺寸和图片真实比例。
*/
.motion-reveal {
  --reveal-y: 36px;
  --reveal-scale: 0.985;
  opacity: 0;
  filter: blur(10px);
  transform: translate3d(0, var(--reveal-y), 0) scale(var(--reveal-scale));
  transition:
    opacity 0.78s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.78s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.78s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.2s ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, filter, transform;
}

.motion-reveal.is-revealed {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1);
}

/*
  不同业务块使用不同的入场幅度：首屏文案更轻，产品大卡更有分量。
  这样用户滚动到每一屏时能感觉到层级变化，而不是所有元素同一种模板动画。
*/
.hero-subtitle.motion-reveal,
.hero-desc.motion-reveal,
.hero-cta.motion-reveal {
  --reveal-y: 22px;
  --reveal-scale: 0.995;
}

.hero-title.motion-reveal {
  /*
    007.png 是首屏最大标题图，入场幅度单独放大，避免和正文一起只做轻微淡入时不够明显。
  */
  --reveal-y: 34px;
  --reveal-scale: 0.955;
}

.feature-card.motion-reveal,
.advantage-card article.motion-reveal {
  --reveal-y: 30px;
  --reveal-scale: 0.965;
}

.tool-panel.motion-reveal {
  --reveal-y: 62px;
  --reveal-scale: 0.982;
}

.panel-copy > .motion-reveal {
  --reveal-y: 24px;
  --reveal-scale: 0.99;
}

.section-heading.motion-reveal,
.ai-inner > .motion-reveal,
.footer-brand.motion-reveal,
.footer-products.motion-reveal,
.footer-contact.motion-reveal {
  --reveal-y: 28px;
}

/*
  卡片和按钮在揭示完成后恢复各自的 hover 手感。
  单独补这些选择器，是为了避免通用 .motion-reveal 的 transform 覆盖原有交互反馈。
*/
.feature-card.motion-reveal.is-revealed:hover,
.feature-card.motion-reveal.is-revealed:focus-within,
.advantage-card article.motion-reveal.is-revealed:hover,
.advantage-card article.motion-reveal.is-revealed:focus-within {
  transform: translateY(-4px) scale(1.01);
}

.primary-cta.motion-reveal.is-revealed:hover,
.primary-cta.motion-reveal.is-revealed:focus-visible {
  transform: translateY(-2px);
}

.primary-cta.motion-reveal.is-revealed:active {
  transform: translateY(1px);
}

@keyframes ai-gradient-drift {
  from {
    background-position: 0% 50%;
  }

  to {
    background-position: 100% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  /*
    尊重系统低动效设置：保留布局和内容，关闭滚动视差、扫光、渐变流动等连续动画。
    进度条仍能反映位置，但过渡时间被压到极短，避免造成运动不适。
  */
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .motion-reveal {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }

  .panel-bg,
  .panel-copy {
    transform: none !important;
  }
}

@media (max-width: 1320px) {
  body {
    min-width: 1215px;
  }
}

@media (min-width: 901px) and (max-width: 2100px) {
  /*
    4K 显示器在 Windows 200% 缩放下，浏览器 CSS 视口通常接近 1920x1080。
    这一档不能继续使用宽屏首屏节奏，否则 007.png、说明文案、CTA 和功能入口会挤在同一纵向区域。
  */
  .hero-section {
    height: 840px;
  }

  .hero-copy {
    /*
      文案组整体略上移，优先保证“免费下载体验”完整落在功能入口卡片上方。
      这里只调整桌面高缩放档，避免影响 2560px 以上 CSS 视口的宽屏视觉。
    */
    top: 238px;
  }

  .hero-title {
    /*
      007.png 在 1920px CSS 视口里占比过大，缩到 690px 后更接近 150% 缩放场景的视觉比例。
      高度同步按图片比例调整，避免 h1 盒子仍按旧高度参与入场动画。
    */
    width: 690px;
    height: 64px;
  }

  .hero-title img {
    width: 690px;
  }

  .hero-title::before {
    right: 30px;
    bottom: -16px;
    height: 30px;
  }

  .hero-title::after {
    /*
      标题图缩小时，扫光遮罩必须同步缩小，否则高光会按 760px 的旧图形位置扫过。
    */
    -webkit-mask-size: 690px auto;
    mask-size: 690px auto;
  }

  .hero-subtitle {
    margin-top: 16px;
    font-size: 30px;
    line-height: 1.18;
  }

  .hero-desc {
    margin-top: 28px;
    font-size: 15px;
    line-height: 28px;
  }

  .hero-cta {
    /*
      200% 缩放下纵向空间更紧，CTA 需要贴近说明文案一些；
      按钮尺寸仍沿用 .primary-cta 和 .panel-cta 的统一 220x55 下限。
    */
    margin-top: 40px;
  }

  .feature-nav {
    /*
      功能入口下移到 CTA 之后，避免 1920px CSS 视口下卡片覆盖首屏下载按钮。
      这里使用固定值而不是 vw，避免 1920-2100 这一段里卡片坐标来回漂移。
    */
    top: 610px;
  }
}

@media (max-width: 900px) {
  body {
    min-width: 0;
  }

  .site-page {
    min-height: 0;
    overflow-x: hidden;
    overflow-y: visible;
  }

  .shell {
    width: calc(100% - 32px);
  }

  /*
    移动端不再沿用桌面端 1215px/1920px 的绝对定位画布。
    首屏背景仍使用 001.png，但内容改为自然流式排布，避免手机打开时出现横向滚动。
  */
  .hero-section {
    height: auto;
    min-height: 0;
    padding: 68px 0 30px;
    overflow: hidden;
    /*
      手机截图中如果按高度缩放 001.png，右侧 3D 主体会被放得过大并压到标题区域。
      这里改为按视口宽度控制背景尺寸，同时把视觉焦点向右上移动，让标题区保持干净、背景弧线只作为轻量氛围。
    */
    background-position: right -230px top 92px;
    background-size: clamp(680px, 175vw, 820px) auto;
  }

  .site-header,
  .header-inner {
    height: 68px;
  }

  .header-inner {
    gap: 12px;
  }

  .brand-dark {
    margin-left: 0;
    transform: none;
  }

  .brand-logo {
    width: min(190px, 54vw);
  }

  .download-pill {
    width: 88px;
    height: 34px;
    margin-right: 0;
    flex: 0 0 auto;
    border-radius: 17px;
    font-size: 13px;
  }

  .hero-copy {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    padding-top: 34px;
  }

  .hero-title {
    width: min(100%, 332px);
    height: auto;
    margin: 0;
  }

  .hero-title img {
    width: 100%;
  }

  .hero-subtitle {
    max-width: 360px;
    margin: 17px 0 0;
    font-size: 23px;
    line-height: 1.34;
  }

  .hero-subtitle strong {
    white-space: nowrap;
  }

  .hero-desc {
    max-width: 352px;
    margin: 18px 0 0;
    font-size: 14px;
    line-height: 25px;
  }

  .hero-desc br {
    display: none;
  }

  .primary-cta {
    width: 188px;
    height: 48px;
    border-radius: 24px;
    font-size: 16px;
  }

  .hero-cta {
    margin: 25px 0 0;
  }

  .feature-nav {
    position: relative;
    top: auto;
    left: auto;
    width: calc(100% - 32px);
    margin: 32px auto 0;
    grid-template-columns: 1fr;
    gap: 12px;
    transform: none;
  }

  .feature-card {
    display: grid;
    width: 100%;
    aspect-ratio: auto;
    height: auto;
    min-height: 116px;
    border-radius: 12px;
    grid-template-columns: 52px 1fr;
    padding: 18px;
  }

  .feature-card img {
    position: static;
    width: 44px;
    height: 44px;
  }

  .feature-card > div {
    position: static;
    width: auto;
  }

  .feature-card h2 {
    font-size: 18px;
    line-height: 24px;
  }

  .feature-card p {
    margin: 2px 0 10px;
    font-size: 13px;
    line-height: 18px;
    white-space: normal;
  }

  .feature-detail {
    width: 106px;
    height: 30px;
    margin-left: 0;
    border-radius: 15px;
    font-size: 13px;
  }

  .feature-detail::after {
    margin-left: 8px;
  }

  .tools-section {
    padding-top: 40px;
  }

  .section-heading h2 {
    font-size: 26px;
    line-height: 36px;
  }

  .section-heading p {
    margin-top: 8px;
    font-size: 14px;
    line-height: 24px;
  }

  .tool-panels {
    width: calc(100% - 32px);
    margin-top: 28px;
    gap: 12px;
  }

  .tool-panel {
    width: 100%;
    height: auto;
    background: #fff;
    scroll-margin-top: 84px;
  }

  .panel-bg {
    position: relative;
    width: 100%;
    height: auto;
    max-width: 100%;
    aspect-ratio: 1215 / 550;
    object-fit: cover;
    object-position: center top;
    transform: none;
  }

  /*
    桌面端文案需要压在大图留白区；移动端图片缩小后留白不足，
    因此改为图片在上、文字在下，保证功能说明和下载按钮都能完整阅读和点击。
  */
  .panel-copy,
  .copy-right,
  .copy-left,
  .copy-low {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    padding: 22px 20px 24px;
    transform: none;
  }

  .panel-copy h3 {
    font-size: 26px;
    line-height: 34px;
  }

  .panel-kicker {
    margin: 4px 0 18px;
    font-size: 16px;
    line-height: 24px;
  }

  .panel-copy ol {
    list-style-position: outside;
    padding-left: 1.2em;
  }

  .panel-copy li,
  .panel-text {
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 25px;
  }

  .panel-cta,
  .copy-left .panel-cta {
    margin-top: 12px;
  }

  .ai-section {
    height: auto;
    margin-top: 32px;
    padding: 42px 0;
  }

  .ai-inner {
    padding-top: 0;
  }

  .ai-inner h2 {
    font-size: 28px;
    line-height: 38px;
  }

  .ai-inner > p {
    margin-top: 8px;
    font-size: 14px;
    line-height: 24px;
  }

  .advantage-card {
    width: 100%;
    height: auto;
    margin-top: 28px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 0;
  }

  .advantage-card article {
    height: 180px;
    padding: 0 8px;
  }

  .advantage-card img {
    width: 56px;
    height: 56px;
  }

  .advantage-card article:nth-child(n + 4) img {
    /*
      移动端改为两列三排后不存在“桌面底部一排”的视觉问题，重置桌面端下移量。
    */
    transform: none;
  }

  .advantage-card h3 {
    font-size: 18px;
    line-height: 25px;
  }

  .advantage-card p {
    font-size: 12px;
    line-height: 24px;
  }

  .site-footer {
    min-height: 0;
    padding: 40px 0 26px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    row-gap: 32px;
    padding-top: 0;
  }

  .footer-brand img {
    width: min(230px, 68vw);
  }

  .footer-brand p {
    width: auto;
    margin-top: 18px;
    font-size: 14px;
    line-height: 26px;
  }

  .footer-products h2,
  .footer-contact h2 {
    margin-bottom: 16px;
    font-size: 19px;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 22px;
  }

  .footer-links li {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 20px;
  }

  .contact-row {
    gap: 16px;
  }

  .contact-row img {
    width: 96px;
    height: 96px;
    margin-right: 0;
  }

  .contact-row p {
    margin-top: 0;
    font-size: 14px;
    line-height: 26px;
  }

  .footer-record {
    /*
      移动端备案栏改为上下堆叠，避免公司名和备案号挤在同一行时被小屏裁切。
      仍保持独立可见，不参与滚动揭示隐藏。
    */
    width: calc(100% - 32px);
    margin-top: 28px;
    padding-top: 18px;
    gap: 8px;
    flex-direction: column;
    font-size: 13px;
    line-height: 20px;
  }
}
