﻿* {
    box-sizing: border-box;
}

/* 统一盒模型，避免宽高计算混乱。 */
html {
    scroll-behavior: smooth;
}

/* 页面锚点跳转时使用平滑滚动。 */
body {
    margin: 0;
    min-height: 100vh;
    color: #fff;
    font-family: "Microsoft YaHei", Arial, sans-serif;
    background: #140701;
    overflow-x: hidden;
}

/* 设置页面主体基础样式。 */
a {
    color: inherit;
    text-decoration: none;
}

/* 去掉链接默认下划线并继承颜色。 */
button {
    font: inherit;
    cursor: pointer;
}

/* 让按钮继承字体并显示小手。 */
.ai-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: radial-gradient(circle at 20% 15%, rgba(255, 115, 0, .28), transparent 28%), radial-gradient(circle at 85% 12%, rgba(255, 177, 61, .2), transparent 26%), linear-gradient(135deg, #140701 0%, #271003 54%, #070301 100%);
}

/* 设置橙黑科技背景。 */
.ai-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .18;
    background-image: radial-gradient(circle, rgba(255, 255, 255, .58) 1px, transparent 1px);
    background-size: 70px 70px;
}

/* 使用纯 CSS 星点装饰背景。 */
.ai-header {
    width: min(1720px, calc(100% - 56px));
    min-height: 76px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    gap: 40px;
    border: 1px solid rgba(255, 132, 0, .28);
    border-radius: 0 0 24px 24px;
    background: rgba(18, 8, 3, .94);
    box-shadow: 0 0 34px rgba(255, 110, 0, .26);
}

/* 设置顶部导航栏。 */
.ai-logo {
    /* 顶部品牌标题样式。 */
    flex: 0 0 auto;
    /* 防止品牌标题被中间导航压缩。 */
    font-size: 30px;
    /* 设置顶部品牌标题字号。 */
    font-weight: 950;
    /* 设置顶部品牌标题为超粗字重。 */
    color: #ff9300;
    /* 使用 AI 分页底部导航同款主题色。 */
    text-shadow: 0 0 16px rgba(255, 147, 0, .38);
    /* 添加主题色发光，让顶部标题和页面风格统一。 */
}

/* 设置主题色 Logo。 */
.ai-nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 46px;
}

/* 设置导航菜单布局。 */
.ai-nav-link {
    height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    white-space: nowrap;
    color: rgba(255, 255, 255, .86);
    font-size: 17px;
    line-height: 1;
    font-weight: 800;
    transition: color .2s ease, transform .2s ease;
}

/* 设置单个导航项固定高度，点击当前分类时不改变文字盒子，避免影响旁边图标。 */
/* 设置单个导航项。 */
.ai-nav-link:hover {
    transform: translateY(-2px);
}

/* 设置导航悬停时轻微上移，只在鼠标悬停时做动画。 */
.ai-nav-link.active {
    transform: none;
}

/* 设置当前页面导航只保留高亮颜色，不移动位置，避免点击后文字和图标变形。 */
.ai-nav-link.active:hover {
    transform: none;
}

/* 当前页面导航悬停时也不移动，防止 active 和 hover 叠加造成布局抖动。 */
.ai-nav-link:active {
    transform: none;
}

/* 鼠标按下导航时取消压缩或位移，避免点击瞬间影响其他图标。 */
/* 设置导航悬停和激活效果。 */
.ai-nav-icon {
    width: 38px;
    min-width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1;
    font-weight: 900;
    white-space: nowrap;
    letter-spacing: 0;
    box-shadow: inset 0 0 0 2px currentColor;
}

/* 设置导航图标统一固定宽高，所有分类图标占位一致，避免点击后挤动其他图标。 */
/* 设置导航图标，固定尺寸防止变形。 */
.ai-nav-icon.ps {
    color: #00a8ff;
}

/* 设置 Photoshop 图标颜色。 */
.ai-nav-icon.ai {
    color: #ff9300;
}

/* 设置 Illustrator 图标颜色。 */
.ai-nav-icon.c4d {
    color: #cbd4ff;
    font-size: 13px;
}

/* 设置 C4D 图标颜色，并只缩小内部文字，外框尺寸仍和其他图标一致。 */
/* 设置 C4D 图标颜色。 */
.ai-nav-icon.print {
    color: #00f0c8;
}

/* 设置 3D 打印图标颜色。 */
.ai-search {
    width: 300px;
    height: 44px;
    display: flex;
    align-items: center;
    padding: 0 12px 0 18px;
    border: 1px solid rgba(255, 79, 234, .58);
    border-radius: 999px;
    background: rgba(4, 8, 24, .78);
    box-shadow: 0 0 22px rgba(138, 55, 255, .42);
}

/* 设置搜索框。 */
.ai-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    color: #fff;
    background: transparent;
}

/* 设置搜索输入框。 */
.ai-search button {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    color: #f994ff;
    background: transparent;
}

/* 设置搜索按钮。 */
.ai-search-icon {
    position: relative;
    width: 18px;
    height: 18px;
    display: block;
}

/* 设置搜索图标容器。 */
.ai-search-icon::before {
    content: "";
    position: absolute;
    left: 1px;
    top: 1px;
    width: 11px;
    height: 11px;
    border: 3px solid currentColor;
    border-radius: 50%;
}

/* 绘制搜索图标圆圈。 */
.ai-search-icon::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 1px;
    width: 8px;
    height: 3px;
    border-radius: 999px;
    background: currentColor;
    transform: rotate(45deg);
}

/* 绘制搜索图标手柄。 */
.ai-layout {
    width: min(1720px, calc(100% - 56px));
    margin: 0 auto;
    padding-top: 12px;
}

/* 设置页面主体宽度。 */
.ai-hero {
    position: relative;
    min-height: 380px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 42% 58%;
    align-items: center;
    border: 1px solid rgba(255, 132, 0, .5);
    border-radius: 18px;
    background: radial-gradient(circle at 70% 45%, rgba(255, 147, 0, .32), transparent 28%), linear-gradient(135deg, #1b0802 0%, #321104 50%, #120501 100%);
    box-shadow: 0 0 36px rgba(255, 110, 0, .35);
}

/* 设置 Illustrator 横幅。 */
.ai-tags {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 14px;
}

/* 设置横向素材分类栏。 */
.ai-tag {
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid rgba(255, 132, 0, .42);
    border-radius: 14px;
    color: rgba(255, 236, 215, .88);
    font-weight: 800;
    background: rgba(35, 14, 4, .9);
    transition: color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease, background .2s ease;
}

/* 设置分类按钮为橙黑背景，修正从 PS 页面继承来的蓝色块。 */
.ai-tag span {
    color: #ffb13d;
}

/* 设置分类按钮图标颜色。 */
.ai-tag:hover,
.ai-tag.active {
    color: #ffb13d;
    border-color: rgba(255, 147, 0, .82);
    background: rgba(59, 24, 6, .96);
    box-shadow: 0 0 20px rgba(255, 132, 0, .32);
    transform: translateY(-2px);
}

/* 设置分类按钮悬停和激活时变成更亮的橙色。 */
.ai-main-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 18px;
}

/* 设置内容区两栏布局。 */
.ai-sidebar {
    padding: 20px;
    border: 1px solid rgba(255, 132, 0, .36);
    border-radius: 16px;
    background: rgba(35, 14, 4, .9);
}

/* 设置左侧分类栏为橙黑主题，避免下方区域偏蓝。 */
.ai-sidebar h2 {
    margin: 0 0 14px;
    font-size: 20px;
}

/* 设置左侧分类标题。 */
.side-filter {
    display: block;
    padding: 10px 0;
    color: rgba(255, 255, 255, .7);
    font-weight: 700;
    transition: color .2s ease, transform .2s ease;
}

/* 设置左侧筛选链接。 */
.side-filter:hover,
.side-filter.active {
    color: #ffb13d;
    transform: translateX(4px);
}

/* 设置左侧筛选链接悬停和激活时使用 Illustrator 橙色。 */
.side-all {
    width: 100%;
    height: 38px;
    margin-top: 12px;
    border: 0;
    border-radius: 10px;
    color: #fff;
    font-weight: 900;
    background: linear-gradient(90deg, #ff5b00, #ff9300);
    box-shadow: 0 0 16px rgba(255, 112, 0, .38);
}

/* 设置全部素材按钮为纯橙色渐变，去掉原来的青蓝色。 */
.ai-resources {
    padding: 22px;
    border: 1px solid rgba(255, 132, 0, .34);
    border-radius: 16px;
    background: rgba(22, 8, 3, .9);
}

/* 设置素材列表容器为深橙黑背景，修正下方配色不统一问题。 */
.ai-list-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

/* 设置列表标题栏。 */
.ai-list-tabs {
    display: flex;
    gap: 26px;
}

/* 设置列表标签组。 */
.list-tab {
    border: 0;
    color: rgba(255, 255, 255, .6);
    font-weight: 900;
    background: transparent;
}

/* 设置列表标签按钮。 */
.list-tab.active {
    color: #fff;
    text-shadow: 0 0 14px rgba(255, 147, 0, .72);
}

/* 设置激活列表标签为橙色发光。 */
/* 设置激活列表标签。 */
.ai-more {
    color: rgba(255, 211, 170, .82);
    font-weight: 800;
    transition: color .2s ease;
}

/* 设置查看更多链接为浅橙色，和 AI 页面下方区域保持一致。 */
/* 设置查看更多链接。 */
.ai-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

/* 设置素材卡片网格。 */
.ai-card {
    overflow: hidden;
    border: 1px solid rgba(255, 132, 0, .32);
    border-radius: 14px;
    background: rgba(14, 6, 2, .94);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

/* 设置素材卡片为橙黑底色，避免卡片底部偏蓝。 */
.ai-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 147, 0, .78);
    box-shadow: 0 0 24px rgba(255, 132, 0, .28);
}

/* 设置素材卡片悬停。 */
.ai-card.hidden {
    display: none;
}

/* 隐藏筛选或搜索不匹配的素材卡片。 */
.ai-thumb {
    height: 210px;
    position: relative;
}

/* 设置纯色缩略图。 */
.ai-thumb::after {
    content: "";
    position: absolute;
    right: 20px;
    bottom: 18px;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
}

/* 添加缩略图圆形装饰。 */
.ai-thumb.pink {
    background: linear-gradient(135deg, #ff3dbb, #6734ff);
}

/* 设置粉紫缩略图。 */
.ai-thumb.yellow {
    background: linear-gradient(135deg, #ffd13d, #00b6ff);
}

/* 设置黄蓝缩略图。 */
.ai-thumb.blue {
    background: linear-gradient(135deg, #ff5b00, #953dff);
}

/* 设置蓝紫缩略图。 */
.ai-thumb.orange {
    background: linear-gradient(135deg, #ff9a1f, #7c35ff);
}

/* 设置橙紫缩略图。 */
.ai-card h3 {
    margin: 14px 14px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 17px;
}

/* 设置素材卡片标题。 */
.ai-card h3 span {
    min-width: 34px;
    height: 24px;
    display: inline-grid;
    place-items: center;
    border-radius: 4px;
    color: #fff;
    font-size: 12px;
    background: #ff7a00;
}

/* 设置 AI 标签。 */
.ai-card p {
    margin: 0 14px 16px;
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, .58);
}

/* 设置素材卡片底部信息。 */
.ai-float-tools {
    --tool-icon-size: 46px;
    position: fixed;
    right: 20px;
    top: 36%;
    z-index: 12;
    display: grid;
    justify-items: end;
    gap: 22px;
}

/* 设置右侧悬浮工具。 */
.ai-contact,
.ai-back-top {
    width: 76px;
    min-height: 86px;
    padding: 8px 7px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid rgba(255, 132, 0, .65);
    border-radius: 18px;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    background: rgba(7, 10, 42, .92);
    box-shadow: 0 0 24px rgba(255, 132, 0, .38);
    position: relative;
}

/* 设置两个悬浮按钮通用样式。 */
.ai-wechat,
.ai-back-icon {
    width: var(--tool-icon-size);
    height: var(--tool-icon-size);
    border-radius: 50%;
}

/* 设置悬浮图标统一大小。 */
.ai-wechat {
    display: block;
    object-fit: contain;
    padding: 8px;
    background: linear-gradient(135deg, #19d36b, #00b65f);
    box-shadow: 0 0 16px rgba(25, 211, 107, .55);
}

/* 设置微信 SVG 图标。 */
.ai-qr-panel {
    position: absolute;
    right: calc(100% + 14px);
    top: 50%;
    width: 170px;
    padding: 14px 12px;
    border: 1px solid rgba(255, 132, 0, .65);
    border-radius: 16px;
    background: rgba(7, 10, 42, .96);
    box-shadow: 0 0 24px rgba(255, 132, 0, .42);
    opacity: 0;
    pointer-events: none;
    text-align: center;
    transform: translate(8px, -50%);
    transition: opacity .2s ease, transform .2s ease;
}

/* 设置二维码弹出面板。 */
.ai-contact:hover .ai-qr-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translate(0, -50%);
}

/* 联系按钮悬停时显示二维码。 */
.ai-qr {
    width: 112px;
    height: 112px;
    display: block;
    margin: 10px auto 8px;
    object-fit: contain;
    border: 8px solid #fff;
    background: #fff;
}

/* 设置 SVG 二维码。 */
.ai-qr-panel p {
    margin: 0;
    color: rgba(255, 255, 255, .66);
    font-size: 12px;
}

/* 设置二维码提示文字。 */
.ai-back-top {
    border-color: rgba(149, 65, 255, .78);
}

/* 设置返回顶部按钮边框颜色。 */
.ai-back-icon {
    position: relative;
    background: linear-gradient(145deg, #7a5cff, #00c8ff);
    box-shadow: 0 0 18px rgba(255, 147, 0, .5);
}

/* 设置返回顶部圆形图标。 */
.ai-back-icon::before {
    content: "";
    position: absolute;
    top: 13px;
    left: 50%;
    width: 14px;
    height: 14px;
    border-left: 4px solid #fff;
    border-top: 4px solid #fff;
    border-radius: 2px;
    transform: translateX(-50%) rotate(45deg);
}

/* 绘制返回顶部箭头尖角。 */
.ai-back-icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 16px;
    width: 4px;
    height: 22px;
    border-radius: 999px;
    background: #fff;
    transform: translateX(-50%);
}

/* 绘制返回顶部箭头竖线。 */
@media (max-width: 1280px) {
    .ai-nav {
        gap: 22px;
    }

    .ai-tags {
        grid-template-columns: repeat(4, 1fr);
    }

    .ai-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 设置中等屏幕响应式。 */
@media (max-width: 900px) {
    .ai-header {
        flex-wrap: wrap;
        padding: 18px;
    }

    .ai-nav {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .ai-hero {
        grid-template-columns: 1fr;
    }

    .ai-tags {
        grid-template-columns: repeat(2, 1fr);
    }

    .ai-card-grid {
        grid-template-columns: 1fr;
    }
}

/* 设置手机屏幕响应式。 */

/* AI 页面导航分类悬停颜色开始，保证文字颜色和对应图标颜色一致。 */
.ai-nav-link:has(.ai-nav-icon.ps):hover {
    color: #00a8ff;
}

/* Photoshop 导航悬停时，文字变成 Photoshop 图标蓝色。 */
.ai-nav-link:has(.ai-nav-icon.ai):hover,
.ai-nav-link:has(.ai-nav-icon.ai).active {
    color: #ff9300;
}

/* Illustrator 导航悬停或激活时，文字变成 Illustrator 图标橙色。 */
.ai-nav-link:has(.ai-nav-icon.c4d):hover {
    color: #cbd4ff;
}

/* Cinema 4D 导航悬停时，文字变成 C4D 图标浅紫色。 */
.ai-nav-link:has(.ai-nav-icon.print):hover {
    color: #00f0c8;
}

/* 3D 打印导航悬停时，文字变成 3D 打印图标青绿色。 */
/* AI 页面导航分类悬停颜色结束。 */

/* AI 页面横幅轮播动效开始，让切换横幅时有平滑过渡。 */
.ai-hero {
    transition: background .35s ease, box-shadow .35s ease;
}

/* 给横幅背景和发光添加过渡动画。 */
.ai-hero-art,
.ai-orb,
.ai-gate,
.ai-float-card {
    transition: transform .35s ease, background .35s ease, border-color .35s ease, box-shadow .35s ease, right .35s ease, top .35s ease, bottom .35s ease;
}

/* 给横幅右侧装饰元素添加移动和颜色过渡。 */
.ai-hero[data-slide="2"] {
    background: radial-gradient(circle at 72% 42%, rgba(255, 61, 31, .34), transparent 28%), linear-gradient(135deg, #210801 0%, #3c1404 50%, #120501 100%);
    box-shadow: 0 0 36px rgba(255, 61, 31, .32);
}

/* 设置第二张横幅的红橙色背景状态。 */
.ai-hero[data-slide="2"] .orb-one {
    right: 110px;
    top: 72px;
    background: #ff3d1f;
    box-shadow: 0 0 70px rgba(255, 61, 31, .72);
}

/* 设置第二张横幅第一个光球的位置和颜色。 */
.ai-hero[data-slide="2"] .orb-two {
    right: 460px;
    bottom: 78px;
    background: #ffb13d;
    box-shadow: 0 0 56px rgba(255, 177, 61, .7);
}

/* 设置第二张横幅第二个光球的位置和颜色。 */
.ai-hero[data-slide="2"] .ai-gate {
    right: 250px;
    border-color: rgba(255, 61, 31, .5);
    box-shadow: inset 0 0 50px rgba(255, 61, 31, .2), 0 0 60px rgba(255, 61, 31, .36);
    transform: rotate(-4deg);
}

/* 设置第二张横幅传送门的颜色和轻微旋转。 */
.ai-hero[data-slide="2"] .card-a {
    right: 560px;
    top: 92px;
}

/* 设置第二张横幅第一张漂浮卡片的位置。 */
.ai-hero[data-slide="2"] .card-b {
    right: 300px;
    top: 230px;
}

/* 设置第二张横幅第二张漂浮卡片的位置。 */
.ai-hero[data-slide="2"] .card-c {
    right: 125px;
    bottom: 96px;
}

/* 设置第二张横幅第三张漂浮卡片的位置。 */
.ai-hero[data-slide="3"] {
    background: radial-gradient(circle at 76% 44%, rgba(255, 204, 64, .32), transparent 30%), linear-gradient(135deg, #1c0901 0%, #392006 52%, #100501 100%);
    box-shadow: 0 0 36px rgba(255, 204, 64, .28);
}

/* 设置第三张横幅的金橙色背景状态。 */
.ai-hero[data-slide="3"] .orb-one {
    right: 170px;
    top: 92px;
    background: #ffcc40;
    box-shadow: 0 0 70px rgba(255, 204, 64, .7);
}

/* 设置第三张横幅第一个光球的位置和颜色。 */
.ai-hero[data-slide="3"] .orb-two {
    right: 350px;
    bottom: 42px;
    background: #ff9300;
    box-shadow: 0 0 56px rgba(255, 132, 0, .72);
}

/* 设置第三张横幅第二个光球的位置和颜色。 */
.ai-hero[data-slide="3"] .ai-gate {
    right: 190px;
    border-color: rgba(255, 204, 64, .5);
    box-shadow: inset 0 0 50px rgba(255, 204, 64, .22), 0 0 60px rgba(255, 204, 64, .36);
    transform: rotate(4deg);
}

/* 设置第三张横幅传送门的颜色和轻微旋转。 */
.ai-hero[data-slide="3"] .card-a {
    right: 465px;
    top: 58px;
}

/* 设置第三张横幅第一张漂浮卡片的位置。 */
.ai-hero[data-slide="3"] .card-b {
    right: 395px;
    top: 244px;
}

/* 设置第三张横幅第二张漂浮卡片的位置。 */
.ai-hero[data-slide="3"] .card-c {
    right: 70px;
    bottom: 110px;
}

/* 设置第三张横幅第三张漂浮卡片的位置。 */
.ai-dots {
    position: absolute;
    left: 50%;
    bottom: 24px;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transform: translateX(-50%);
}

/* 设置横幅底部三个小圆点的位置。 */
.ai-dot {
    width: 11px;
    height: 11px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .42);
    cursor: pointer;
    transition: width .25s ease, background .25s ease, box-shadow .25s ease, transform .25s ease;
}

/* 设置未选中圆点的基础样式和过渡动画。 */
.ai-dot:hover {
    background: rgba(255, 255, 255, .76);
    transform: translateY(-1px);
}

/* 设置圆点悬停时更亮并轻微上移。 */
.ai-dot.active {
    width: 28px;
    background: #fff;
    box-shadow: 0 0 16px rgba(255, 255, 255, .78);
}

/* 设置当前横幅圆点为白色长圆，并添加发光效果。 */
/* AI 页面横幅轮播动效结束。 */
/* 分页和主页外层对齐样式开始：只统一外层宽度和位置，不改变分页内部 banner、按钮、卡片样式。 */
:root {
    --xq-page-width: 1720px;
    --xq-page-gutter: 56px;
}

/* 设置和主页一致的全站内容宽度，最大宽度 1720px，桌面端左右总留白 56px。 */
.ai-header {
    width: min(var(--xq-page-width), calc(100% - var(--xq-page-gutter)));
    min-height: 78px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 34px;
    padding-right: 34px;
    gap: 42px;
    border-radius: 0 0 26px 26px;
}

/* 让 AI 分页 顶部导航的外层宽度、内边距和圆角与主页顶部导航一致，保证红线位置对齐。 */
.ai-layout {
    width: min(var(--xq-page-width), calc(100% - var(--xq-page-gutter)));
    margin-left: auto;
    margin-right: auto;
    padding-top: 4px;
}

/* 让 AI 分页 主体内容宽度和顶部距离与主页主体一致，保证 banner 左右边界对齐。 */
@media (max-width: 560px) {

    .ai-header,
    .ai-layout {
        width: calc(100% - 24px);
    }
}

/* 手机窄屏下和主页一样保留 24px 总留白，避免内容贴边。 */
/* 分页和主页外层对齐样式结束。 */
/* 分页底部信息栏样式开始，让 AI 分页底部背景跟随当前主题色。 */
.site-footer {
    width: min(1720px, calc(100% - 56px));
    margin: 18px auto 0;
    padding: 28px 38px 18px;
    display: grid;
    grid-template-columns: 1.8fr 1.1fr 1.2fr 1.1fr 1.2fr 1.8fr;
    gap: 28px;
    border: 1px solid rgba(255, 147, 0, .5);
    border-radius: 26px 26px 0 0;
    background: linear-gradient(180deg, rgba(42, 16, 2, .96), rgba(18, 6, 1, .95));
    box-shadow: 0 0 26px rgba(255, 147, 0, .3);
}

/* 设置分页底部整体容器，宽度、间距和首页底部保持一致。 */
.footer-brand h2 {
    margin: 0 0 14px;
    color: #ff9300;
    font-size: 28px;
    text-shadow: 0 0 14px rgba(255, 147, 0, .38);
}

/* 设置底部品牌标题为 AI 分页主题色。 */
.footer-brand p {
    margin: 0;
    color: rgba(255, 255, 255, .58);
    line-height: 1.8;
}

/* 设置底部品牌介绍文字。 */
.footer-col h3,
.footer-contact h3 {
    margin: 0 0 10px;
    color: #ff9300;
    font-size: 18px;
}

/* 设置底部栏目标题和联系作者标题为 AI 分页主题色。 */
.footer-col a {
    display: block;
    margin: 8px 0;
    color: rgba(255, 255, 255, .55);
    transition: color .2s ease, transform .2s ease;
}

/* 设置底部导航链接的基础样式。 */
.footer-col a:hover {
    color: #ff9300;
    transform: translateX(6px);
}

/* 设置底部导航链接悬停时变成 AI 分页主题色。 */
.footer-contact p {
    margin: 8px 0;
    color: rgba(255, 255, 255, .62);
}

/* 设置底部联系信息文字。 */
.footer-art {
    min-height: 116px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    color: #fff;
    font-size: 42px;
    font-weight: 950;
    background: linear-gradient(135deg, #ff2ebd, #00d7ff);
    box-shadow: 0 0 26px rgba(255, 46, 189, .32);
}

/* 设置底部 DESIGN 纯色装饰图。 */
.copyright {
    grid-column: 1 / -1;
    margin: 0;
    padding-top: 12px;
    text-align: center;
    color: rgba(255, 255, 255, .48);
    border-top: 1px solid rgba(255, 255, 255, .08);
}

/* 设置底部版权信息横跨整行并居中显示。 */
.copyright a {
    color: rgba(255, 255, 255, .62);
    cursor: pointer;
    transition: color .2s ease;
}

/* 设置备案号链接默认样式，并显示小手。 */
.copyright a:hover {
    color: #ff9300;
}

/* 设置备案号链接悬停颜色。 */
@media (max-width: 1280px) {
    .site-footer {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 中等屏幕下将底部栏目改成三列。 */
@media (max-width: 560px) {
    .site-footer {
        width: calc(100% - 24px);
        grid-template-columns: 1fr;
        padding: 24px;
    }
}

/* 手机窄屏下底部改为单列并减少留白。 */
/* 分页底部信息栏样式结束。 */
/* 分页顶部导航匹配首页样式开始，保证 AI 分页 的 Logo、导航文字、图标和搜索框与首页同尺寸同位置。 */
.ai-logo {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 1px;
}

/* 让分页 Logo 字号、粗细和字距与首页 Logo 完全一致。 */
.ai-nav {
    gap: 54px;
}

/* 让分页顶部导航项之间的间距与首页主导航一致。 */
.ai-nav-link {
    height: auto;
    gap: 12px;
    color: rgba(255, 255, 255, .9);
    font-size: 18px;
    line-height: normal;
    font-weight: 700;
}

/* 让分页导航文字大小、粗细、颜色和图标间距与首页一致。 */
.ai-nav-link.active {
    transform: none;
}

/* 当前分页导航项不发生位移，避免客户点击后看到文字位置变化。 */
.ai-nav-link.active:hover {
    transform: none;
}

/* 当前分页导航项悬停时也保持原位置，避免选中项抖动。 */
.ai-nav-link:active {
    transform: none;
}

/* 鼠标按下导航项时取消位移，保证点击瞬间文字和图标不变形。 */
.ai-nav-icon {
    width: 34px;
    min-width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: inline-grid;
    place-items: center;
    border-radius: 8px;
    font-size: 15px;
    line-height: normal;
    font-weight: 900;
}

/* 让分页导航图标外框、占位和文字大小与首页图标一致。 */
.ai-nav-icon.c4d {
    font-size: 15px;
}

/* 让分页 C4D 图标文字按首页图标字号显示，不再单独缩小。 */
.ai-search {
    width: 310px;
    height: 46px;
    padding: 0 12px 0 20px;
}

/* 让分页搜索框宽度、高度和内边距与首页搜索框一致。 */
.ai-search button {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* 让分页搜索按钮尺寸和居中方式与首页一致。 */
.ai-search-icon {
    width: 20px;
    height: 20px;
}

/* 让分页搜索图标绘制区域与首页一致。 */
@media (max-width: 1280px) {
    .ai-nav {
        gap: 22px;
    }
}

/* 中等屏幕下和首页一样缩小导航间距，避免导航拥挤。 */
@media (max-width: 900px) {
    .ai-header {
        flex-wrap: wrap;
        padding: 18px;
        gap: 16px;
    }

    .ai-nav {
        order: 3;
        width: 100%;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .ai-search {
        width: min(100%, 320px);
        margin-left: auto;
    }
}

/* 平板和手机宽度下保持和首页一致的导航换行规则。 */
@media (max-width: 560px) {
    .ai-logo {
        font-size: 25px;
    }
}

/* 窄屏手机下和首页一样缩小 Logo，防止文字挤出。 */
/* 分页顶部导航匹配首页样式结束。 */
/* 分页悬浮工具统一样式开始，让 AI 分页右侧按钮效果保持一致。 */
.ai-float-tools {
    --tool-icon-size: 46px;
    right: 20px;
    top: 36%;
    gap: 22px;
}

/* 统一右侧悬浮工具的位置、图标尺寸和两个按钮间距。 */
.ai-contact,
.ai-back-top {
    width: 76px;
    min-height: 86px;
    padding: 8px 7px 10px;
    gap: 6px;
    border-radius: 18px;
    font-size: 14px;
    font-weight: 800;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

/* 统一联系作者和回到顶部按钮的大小、文字和过渡效果。 */
.ai-contact:hover,
.ai-back-top:hover {
    transform: none;
    border-color: #ff9300;
    box-shadow: 0 0 24px rgba(255, 147, 0, .28);
}

/* 鼠标悬停右侧两个按钮时只变亮不位移，避免按钮上下跳动。 */
.ai-contact span,
.ai-back-top span {
    font-size: 14px;
    line-height: 1.1;
}

/* 统一右侧两个按钮的文字大小和行高。 */
.ai-contact:hover .ai-wechat {
    background: linear-gradient(135deg, #35f58b 0%, #08d06f 100%);
    box-shadow: 0 0 20px rgba(35, 245, 139, .68);
}

/* 鼠标悬停联系作者时只强化微信图标颜色和发光。 */
.ai-back-top:hover .ai-back-icon {
    background: linear-gradient(145deg, #9a80ff 0%, #23e0ff 100%);
    box-shadow: inset 0 0 12px rgba(255, 255, 255, .22), 0 0 22px rgba(35, 224, 255, .7);
}

/* 鼠标悬停回到顶部时保持首页同款蓝紫渐变图标效果。 */
.ai-back-top:active {
    transform: none;
}

/* 点击回到顶部按钮时也不产生位移，防止影响旁边悬浮工具的视觉稳定。 */
/* 分页悬浮工具统一样式结束。 */
/* Illustrator 分页代码文字横幅最终样式开始：这一段是 Illustrator 页面 banner 文字、按钮和图标的最终有效版本，已删除多轮作废覆盖。 */
@font-face {
    font-family: "XinYiLogoTi";
    src: url("../fonts/XinYilogoTi.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* 引入本地 XinYilogoTi 字体文件，供 Illustrator 分页 banner 英文大标题使用。 */
.ai-hero.page-image-hero {
    position: relative;
    display: block;
    min-height: 0;
    aspect-ratio: 1800 / 500;
    padding: 0;
    overflow: hidden;
    border-color: #ffad18;
    background: #030407;
    box-shadow: 0 0 34px rgba(255, 147, 0, .42);
}

/* 设置 Illustrator 分页 banner 按 1800×500 图片比例显示，并保留当前分页主题发光边框。 */
.ai-hero.page-image-hero .page-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* 设置 Illustrator 分页 banner 图片铺满横幅区域。 */
.ai-hero.page-image-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(0, 0, 0, .34) 0%, rgba(0, 0, 0, .08) 42%, rgba(0, 0, 0, 0) 72%);
    pointer-events: none;
}

/* 给 Illustrator 分页 banner 左侧文字底部添加暗色遮罩，提升文字可读性。 */
.ai-hero.page-image-hero .page-hero-copy {
    position: absolute;
    left: 72px;
    top: 48%;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    gap: 22px;
    width: min(640px, 45%);
    text-align: left;
    transform: translateY(-50%);
}

/* 定位 Illustrator 分页 banner 代码文字层。 */
.ai-hero.page-image-hero .page-hero-icon {
    width: 76px;
    height: 76px;
    flex: 0 0 76px;
    display: grid;
    place-items: center;
    border: 3px solid #ffad18;
    border-radius: 14px;
    color: #ffad18;
    font-size: 32px;
    font-weight: 950;
    line-height: 1;
    letter-spacing: -1px;
    text-align: center;
    background: rgba(0, 0, 0, .42);
    box-shadow: 0 0 18px rgba(255, 147, 0, .42), inset 0 0 18px rgba(255, 255, 255, .04);
}

/* 设置 Illustrator 分页 banner 左侧软件图标块，并保证文字居中。 */
.ai-hero.page-image-hero .page-hero-text {
    width: 100%;
    min-width: 0;
    color: #ffffff;
    text-align: left;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .62);
}

/* 设置 Illustrator 分页 banner 文字容器。 */
.ai-hero.page-image-hero .page-hero-eyebrow {
    margin: 0 0 4px;
    color: rgba(255, 255, 255, .86);
    font-size: clamp(17px, 1.45vw, 24px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 1px;
    text-align: left;
}

/* 设置 Illustrator 分页 banner 顶部小标题。 */
.ai-hero.page-image-hero .page-hero-main {
    display: block;
    width: 100%;
    max-width: 560px;
    margin: 0 0 2px;
    color: transparent;
    font-family: "XinYiLogoTi", Impact, "Arial Black", sans-serif;
    font-size: clamp(42px, 4.1vw, 68px);
    font-style: italic;
    font-weight: 400;
    line-height: .96;
    letter-spacing: 0;
    text-align: left;
    background: linear-gradient(180deg, #ffd84a 0%, #ff9300 100%);
    -webkit-background-clip: text;
    background-clip: text;
    filter: brightness(1.22) saturate(1.18) drop-shadow(0 0 18px rgba(255, 255, 255, .32));
}

/* 设置 Illustrator 分页英文大标题，使用本地字体和上下两色渐变。 */
.ai-hero.page-image-hero .page-hero-brand {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: clamp(28px, 2.5vw, 42px);
    font-weight: 950;
    line-height: 1.06;
    text-align: left;
}

/* 设置 Illustrator 分页中文素材库标题。 */
.ai-hero.page-image-hero .page-hero-brand span {
    margin-right: 4px;
    color: #ffad18;
    font-style: italic;
}

/* 设置 Illustrator 分页中文标题前缀颜色。 */
.ai-hero.page-image-hero .page-hero-desc {
    max-width: 590px;
    margin: 0 0 22px;
    color: rgba(255, 255, 255, .74);
    font-size: clamp(15px, 1.18vw, 20px);
    line-height: 1.35;
    white-space: nowrap;
    text-align: left;
}

/* 设置 Illustrator 分页 banner 说明文字。 */
.ai-hero.page-image-hero .page-hero-btn {
    height: 48px;
    min-width: 164px;
    padding: 0 10px 0 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 20px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
    box-sizing: border-box;
    text-decoration: none;
    background: linear-gradient(90deg, #ffb21e 0%, #ff5718 100%);
    box-shadow: 0 0 24px rgba(255, 255, 255, .26);
    transition: filter .2s ease, box-shadow .2s ease;
}

/* 统一 Illustrator 分页立即探索按钮的尺寸和排版，只保留当前主题颜色。 */
.ai-hero.page-image-hero .page-hero-btn span {
    position: relative;
    flex: 0 0 34px;
    width: 34px;
    min-width: 34px;
    height: 34px;
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
    margin: 0;
    overflow: hidden;
    border-radius: 50%;
    color: #5f6472;
    background: #ffffff;
    font-size: 0;
    line-height: 1;
    box-sizing: border-box;
}

/* 设置 Illustrator 分页立即探索按钮右侧白色圆形，保证它不会被压扁。 */
.ai-hero.page-image-hero .page-hero-btn span::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 8px;
    height: 8px;
    border-top: 4px solid currentColor;
    border-right: 4px solid currentColor;
    border-radius: 1px;
    transform: translate(-62%, -50%) rotate(45deg);
    box-sizing: border-box;
}

/* 使用边框绘制 Illustrator 分页立即探索按钮箭头，保证箭头位于圆心。 */
.ai-hero.page-image-hero .page-hero-btn:hover {
    filter: brightness(1.08);
    box-shadow: 0 0 30px rgba(255, 255, 255, .34);
    transform: none;
}

/* 设置 Illustrator 分页立即探索按钮悬停时只变亮，不发生位移。 */
.ai-hero.page-image-hero .page-hero-title-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* 隐藏 Illustrator 分页 banner 的无障碍标题。 */
.ai-nav-icon.print {
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
}

/* 设置 Illustrator 分页顶部导航里的 3D 图标文字粗细。 */
@media (max-width: 900px) {
    .ai-hero.page-image-hero {
        aspect-ratio: 1800 / 500;
    }

    .ai-hero.page-image-hero .page-hero-copy {
        left: 34px;
        width: 62%;
        gap: 16px;
    }

    .ai-hero.page-image-hero .page-hero-icon {
        width: 70px;
        height: 70px;
        flex-basis: 70px;
        font-size: 30px;
    }

    .ai-hero.page-image-hero .page-hero-main {
        font-size: clamp(34px, 5vw, 54px);
    }

    .ai-hero.page-image-hero .page-hero-eyebrow {
        font-size: 18px;
    }

    .ai-hero.page-image-hero .page-hero-desc {
        white-space: normal;
    }
}

/* 平板宽度下压缩 Illustrator 分页 banner 文字区域，避免溢出。 */
@media (max-width: 560px) {
    .ai-hero.page-image-hero {
        aspect-ratio: 1800 / 500;
    }

    .ai-hero.page-image-hero .page-hero-copy {
        left: 20px;
        width: 78%;
        gap: 10px;
    }

    .ai-hero.page-image-hero .page-hero-icon {
        width: 50px;
        height: 50px;
        flex-basis: 50px;
        border-radius: 12px;
        font-size: 22px;
    }

    .ai-hero.page-image-hero .page-hero-main {
        font-size: 34px;
    }

    .ai-hero.page-image-hero .page-hero-brand {
        font-size: 24px;
    }

    .ai-hero.page-image-hero .page-hero-btn {
        height: 42px;
        min-width: 138px;
        padding: 0 8px 0 20px;
        gap: 12px;
        font-size: 16px;
    }

    .ai-hero.page-image-hero .page-hero-btn span {
        flex-basis: 28px;
        width: 28px;
        min-width: 28px;
        height: 28px;
    }

    .ai-hero.page-image-hero .page-hero-btn span::before {
        width: 7px;
        height: 7px;
        border-width: 3px;
    }
}

/* 手机宽度下继续压缩 Illustrator 分页 banner 文字、图标和按钮。 */
/* Illustrator 分页代码文字横幅最终样式结束。 */


/* Illustrator 固定素材编号悬停提示样式开始。 */
.ai-card[data-material-id] {
    position: relative;
    /* 设置卡片为相对定位，让编号提示能固定在当前卡片内部。 */
}

/* 设置固定素材编号提示默认隐藏状态。 */
.ai-card[data-material-id]::before {
    content: "素材编号：" attr(data-material-id);
    /* 从 HTML 的 data-material-id 属性读取固定编号，并拼成提示文字。 */
    position: absolute;
    /* 使用绝对定位，把提示放到卡片左上角。 */
    left: 12px;
    /* 设置提示距离卡片左侧 12px。 */
    top: 12px;
    /* 设置提示距离卡片顶部 12px。 */
    z-index: 8;
    /* 提高提示层级，避免被缩略图装饰遮挡。 */
    padding: 7px 11px;
    /* 设置提示内边距，让文字有呼吸感。 */
    border: 1px solid rgba(255, 147, 0, .76);
    /* 设置提示描边颜色，保持当前页面主题色。 */
    border-radius: 999px;
    /* 设置胶囊圆角。 */
    color: #ffd84a;
    /* 设置提示文字颜色，保持当前页面主题色。 */
    font-size: 12px;
    /* 设置提示文字大小。 */
    font-weight: 900;
    /* 设置提示文字加粗。 */
    line-height: 1;
    /* 设置单行行高，避免文字上下不居中。 */
    white-space: nowrap;
    /* 禁止提示文字换行。 */
    background: rgba(4, 8, 28, .88);
    /* 设置深色半透明背景，保证编号在纯色图片上清楚可读。 */
    box-shadow: 0 0 18px rgba(255, 147, 0, .34);
    /* 设置主题色发光效果。 */
    opacity: 0;
    /* 默认隐藏提示。 */
    pointer-events: none;
    /* 禁止提示本身接收鼠标事件，避免影响卡片悬停。 */
    transform: translateY(-6px);
    /* 默认轻微上移，方便悬停时出现过渡动画。 */
    transition: opacity .18s ease, transform .18s ease;
    /* 设置透明度和位移过渡动画。 */
}

/* 设置鼠标悬停卡片时显示固定素材编号。 */
.ai-card[data-material-id]:hover::before {
    opacity: 1;
    /* 悬停时显示编号提示。 */
    transform: translateY(0);
    /* 悬停时让编号提示回到正常位置。 */
}

/* Illustrator 固定素材编号悬停提示样式结束。 */