/* 首页专属样式（2026-10-17 重构 v4）
   1) Hero 回到居中文字；底图用 LOGO 青→蓝的动态渐变，不再放 3D 主视觉；
   2) 首页撤掉 6 场景配图卡，恢复「我们做事的原则」三栏；
   3) 仅作用于首页，不改主样式表 style.css。 */

#hero { overflow: hidden; }

/* 关掉为「左文右图」准备的左侧白色渐隐，避免把动态渐变洗掉一半 */
.hero::before { display: none; }

/* 2026-10-17 v2：用户对照商汤——导航条应只比下方渐变「亮一点点」，
   而不是盖一层白纱（75% 白 + 20px 模糊会把渐变顶部洗白，形成横向分界）。
   改成 32% 半透白、去掉模糊：底部渐变仍透得上来，实测导航区只比下方亮 2–3 个色阶，
   看得出「有一条头」，但不再有横向断层；滚动后仍回到全站白底 + 阴影。 */
.nav:not(.scrolled) {
    background: color-mix(in srgb, #ffffff 32%, transparent);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

/* 2026-10-17：主标题一行 11 字 + AI（约 12em ≈ 967px），原 820px 行宽装不下；
   text-align:center 对超宽行不生效（按规范回退为起点对齐），nowrap 溢出后
   整行被顶向右侧，实测中心偏右约 97px，看起来「没居中」。
   首页 hero 容器与内容区放宽到 1040px，让标题真实居中；
   眉标、口号、副标、按钮本就各自居中，不受影响。 */
.hero .container { max-width: 1120px; }
.hero .hero-content { max-width: 1040px; }

/* ==========================================================
   Hero：白 → 青 → 蓝 动态渐变底（2026-10-17 v5）
   用户要求：1) 整体更淡；2) 从左到右 白→青→蓝；
             3) 动感更强；4) 渐变铺满到 hero 底部分割线，
                不再提前淡出（此前 96% 处收白，分割线显白）。
   动感由三层独立动画叠加：基底色带流动 + 柔光团漂移 + 光带扫过。
   ========================================================== */
.hero-gradient {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    /* 基底：纯白起步 → 青过渡 → 蓝，浓度全部再降一档（最右仅 17%） */
    background: linear-gradient(100deg,
        #ffffff 0%,
        color-mix(in srgb, var(--sun-element) 6%, #ffffff) 24%,
        color-mix(in srgb, var(--sun-element) 13%, #ffffff) 46%,
        color-mix(in srgb, var(--md-sys-color-primary) 10%, #ffffff) 70%,
        color-mix(in srgb, var(--md-sys-color-primary) 17%, #ffffff) 100%);
    /* 画布拉长到 280%，配合大位移让色带缓慢流动 */
    background-size: 280% 100%;
    background-position: 0% 50%;
    animation: hero-band 20s cubic-bezier(.37, 0, .63, 1) infinite alternate;
}

/* 柔光团层：青、蓝两团柔光缓慢漂移，与基底错相位，让「流动」肉眼可见 */
.hero-gradient::before {
    content: "";
    position: absolute;
    inset: -14%;
    background:
        radial-gradient(ellipse 34% 46% at 28% 62%,
            color-mix(in srgb, var(--sun-element) 15%, transparent), transparent 70%),
        radial-gradient(ellipse 30% 42% at 68% 36%,
            color-mix(in srgb, var(--md-sys-color-primary) 13%, transparent), transparent 72%);
    animation: hero-blobs 19s ease-in-out infinite alternate;
}

/* 光带层：一道斜向白色柔光从左掠到右（科技感「扫光」）；
   两端点位都在画外，单向循环不会看到跳变。
   2026-10-17：14s 太慢、单看一帧几乎觉不出在动——压到 9s 匀速（linear），
   并把峰值亮度提到 0.58，让「流动」这件事一眼可见。 */
.hero-gradient::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg,
        transparent 15%,
        rgba(255, 255, 255, 0.70) 25%,
        rgba(255, 255, 255, 0.24) 33%,
        transparent 45%);
    background-size: 300% 100%;
    background-repeat: no-repeat;
    background-position: 140% 50%;
    animation: hero-sheen 9s linear infinite;
}

@keyframes hero-band {
    from { background-position: 0% 50%; }
    to   { background-position: 100% 50%; }
}

@keyframes hero-blobs {
    from { transform: translate3d(-4%, 2%, 0) scale(1); }
    to   { transform: translate3d(5%, -3%, 0) scale(1.08); }
}

@keyframes hero-sheen {
    from { background-position: 140% 50%; }
    to   { background-position: -40% 50%; }
}

/* ==========================================================
   首屏底部：向下浏览指示（圆环 + 细箭头）
   2026-11-16：从「拉宽的 V 形渐变箭头」改成「圆环 + chevron」。
   颜色用淡灰 #98a2b0，不用白——首屏本身是浅色渐变，白线会直接糊掉。
   ========================================================== */
.hero-scroll {
    position: absolute;
    left: 50%;
    bottom: clamp(18px, 3.2vh, 34px);
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    transform: translateX(-50%);
    color: #8b95a5;
    opacity: 1;
    text-decoration: none;
    transition: color 0.25s var(--md-easing-standard);
    animation: heroScrollBob 2.8s cubic-bezier(.45, 0, .55, 1) infinite;
}

.hero-scroll svg {
    display: block;
    width: 56px;
    height: 56px;
}

.hero-scroll:hover { color: #5b6472; }

.hero-scroll:focus-visible {
    outline: 2px solid var(--md-sys-color-primary);
    outline-offset: 3px;
    border-radius: 10px;
}

@keyframes heroScrollBob {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(5px); }
}

@media (max-width: 700px) {
    .hero-scroll {
        bottom: 14px;
        width: 48px;
        height: 48px;
    }
    .hero-scroll svg {
        width: 48px;
        height: 48px;
    }
}

/* 格纹收在中心一圈，作为渐变上的细节，不再偏右 */
.hero-bg-grid {
    -webkit-mask-image: radial-gradient(ellipse 60% 64% at 50% 44%, #000 10%, transparent 72%);
    mask-image: radial-gradient(ellipse 60% 64% at 50% 44%, #000 10%, transparent 72%);
}

/* 价值说明：H1 之下、按钮之上，两行——上行是做法，下行是交付归属。
   2026-10-17：去掉与 H1 同义重复的口号（「让 AI 在企业真正跑起来」已在页脚与
   JSON-LD 承担品牌露出），此处只留方法论。
   2026-10-18：原来是「深色 strong + 灰色正文」的两段分色，两个灰只差一档，
   远看像同一句话没排干净；改为整块深灰 + 600 字重（靠字重和字号立住，
   不靠两种灰），并拆成两行，句子从「定语套定语」改成「先说做法，再说交到您手上什么」。
   颜色仍走 token：亮色下是 #44474E 的深灰，暗色下自动跟着翻成浅灰。 */
.hero-sub {
    margin: 0 auto 32px;
    max-width: 34em;
    font-size: clamp(1.0625rem, 1.55vw, 1.25rem);
    font-weight: 700;
    line-height: 1.62;
    letter-spacing: .012em;
    color: var(--md-sys-color-on-surface-variant);
    /* 深灰：比正文用的 on-surface-variant 再压一档（≈#2B2D32），
       但不落到 H1 的近黑 #1A1C20——副标题不该和标题抢层级。
       写成两行声明：不认 color-mix 的浏览器留在上一行的中性灰。 */
    color: color-mix(in srgb, var(--md-sys-color-on-surface) 60%, var(--md-sys-color-on-surface-variant));
}

.hero-sub-line {
    display: block;
    /* 窄屏（≤390）第二行会顶到容器两边，这里允许换行但要求两行等长——
       宁可折成两短句，也不做一整行贴边。 */
    text-wrap: balance;
}

.hero-sub-line + .hero-sub-line {
    margin-top: 6px;
}

/* 小屏（iPhone 宽度）再把字号收一档：第二行 20 字，17px 时会顶到左右边距 */
@media (max-width: 430px) {
    .hero-sub {
        font-size: 1rem;
    }
}

/* ==========================================================
   6 个高频场景：回到轻量图标条（不用生成图，避免 AI 素材感）
   ========================================================== */
#scenes-mini {
    padding: clamp(44px, 5.5vw, 72px) 0;
}

#scenes-mini .md-headline-large {
    margin-bottom: clamp(24px, 3vw, 34px);
}




/* ==========================================================
   首页「先看清这四个方面」：四张导览卡
   左文右图；右侧不用照片，改品牌渐变 + 线性图示，避免 AI 素材感。
   ========================================================== */
#explore {
    padding: clamp(52px, 6.5vw, 84px) 0;
}

#explore .page-lead {
    margin-bottom: clamp(28px, 3.2vw, 36px);
}
.home-hub-card p .nb {
    white-space: nowrap;
}
/* 2026-10-17：图片角标 01–04 已按用户要求去掉，序号样式一并移除，
   照片保持干净（卡片顺序由阅读顺序承担，不需要再标号）。 */





/* ==========================================================
   我们做事的原则：标题独占 + 细线分割（参考 Apple / 商汤的克制版式）
   去掉右侧说明文字与 01/02/03 数字；三栏之间用「上下淡出」的极细竖线，
   顶部压一条向右淡出的横线，靠留白与线宽建立高级感。
   ========================================================== */
/* 2026-10-17：上下留白与「先看清四个方面」对齐（原 80–116px 明显更空） */
#principles {
    padding: clamp(52px, 6.5vw, 84px) 0;
}

/* 这个区块用大字和留白建立层级，不需要挂在标题上方的装饰短线 */
#principles h2.md-headline-large::before {
    display: none;
}

/* 2026-10-17：导览区标题原本沿用基础 .md-headline-large（32px），而原则区是
   clamp(2.3rem,5vw,3.25rem)（36.8–52px），两个相邻章节一大一小，层级错乱。
   两处合并为同一规格；蓝色强调也统一放在末尾的核心词上（原则 / 四个方面）。 */
#principles h2.md-headline-large,
#explore h2.md-headline-large {
    margin: 0;
    font-size: clamp(2.3rem, 5vw, 3.25rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

/* 导览区的 h2 直接放在 .reveal 里、下方紧跟卡片网格，下间距由标题自己承担 */
#explore h2.md-headline-large {
    margin-bottom: clamp(30px, 3.6vw, 46px);
}
.principle p .nb {
    white-space: nowrap;
}

@media (max-width: 860px) {
    #principles h2.md-headline-large,
    #explore h2.md-headline-large {
        font-size: clamp(2rem, 8vw, 2.6rem);
    }}

@media (prefers-reduced-motion: reduce) {
    .hero-gradient,
    .hero-gradient::before,
    .hero-gradient::after { animation: none; }
    .hero-scroll { animation: none; }
}
/* ==========================================================
   2026-11-16 晚：首屏回退（撤销当日 Hero v5 / 指标条 / 内容改版 / Hero v6）
   ----------------------------------------------------------------------------
   用户要求回到「仍带动画粒子背景」的版本。当日新增的四段样式已整体移除，
   index.html 同步回退到 backups/20261116/index.html。
   首屏重新由 style.css 的 .hero + .hero-visual canvas 承担，
   粒子仍由 app.js 中的 heroNetworkCanvas 绘制（脚本未改动）。
   ========================================================== */
