/* ==========================================================================
   M068 模板视觉层
   结构契约：DOM 与类名保持不变，本文件只负责视觉。
   设计语言：深墨蓝 + 冷蓝光 + 少量香槟金，8px 间距基准
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   2. Design Tokens
   -------------------------------------------------------------------------- */
:root {
    /* 墨蓝主色阶 */
    --ink-900: #070d18;
    --ink-800: #0b1424;
    --ink-700: #101c31;
    --ink-600: #17263f;
    --ink-500: #22354f;

    /* 冷蓝光（强调色） */
    --accent-600: #1f56c9;
    --accent-500: #2f6de0;
    --accent-400: #4f8bf0;
    --accent-200: #a9c6f7;
    --accent-050: #eaf1fe;

    /* 香槟金（点缀，仅用于数字与细线） */
    --gold-500: #c3a065;
    --gold-400: #d8bb8a;
    --gold-200: #ecdcbe;

    /* 中性 */
    --white: #ffffff;
    --paper: #f6f8fb;
    --paper-2: #eef2f8;
    --line: #dfe6f0;
    --text-500: #5d6b80;
    --text-700: #2c3a4d;
    --text-900: #101a29;

    /* 渐变 */
    --grad-ink: linear-gradient(135deg, #0b1424 0%, #17263f 100%);
    --grad-accent: linear-gradient(135deg, #1f56c9 0%, #4f8bf0 100%);
    --grad-sheen: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.06) 100%);

    /* 字体 */
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
        "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", sans-serif;
    --font-num: "SF Mono", "DIN Alternate", "Helvetica Neue", Arial, sans-serif;

    /* 字号阶梯 */
    --fs-hero: clamp(2.1rem, 4.4vw, 3.6rem);
    --fs-h2: clamp(1.7rem, 2.6vw, 2.35rem);
    --fs-h3: 1.22rem;
    --fs-lead: clamp(1rem, 1.2vw, 1.15rem);
    --fs-body: 0.975rem;
    --fs-sm: 0.875rem;

    /* 间距（8px 基准） */
    /* 吸顶导航实测高度：桌面 75px、手机 77px。
       锚点跳转与 scroll-margin 都按它让位。 */
    --header-h: 75px;

    --sp-1: 8px;
    --sp-2: 16px;
    --sp-3: 24px;
    --sp-4: 32px;
    --sp-5: 48px;
    --sp-6: 64px;
    --sp-7: 96px;

    /* 圆角 */
    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 20px;
    --r-pill: 999px;

    /* 阴影：用墨色而非纯黑，更干净 */
    --shadow-sm: 0 1px 2px rgba(11, 20, 36, 0.06),
        0 1px 3px rgba(11, 20, 36, 0.05);
    --shadow-md: 0 4px 12px -2px rgba(11, 20, 36, 0.10),
        0 2px 6px -2px rgba(11, 20, 36, 0.06);
    --shadow-lg: 0 14px 34px -10px rgba(11, 20, 36, 0.18),
        0 4px 12px -4px rgba(11, 20, 36, 0.08);
    --shadow-xl: 0 28px 60px -18px rgba(11, 20, 36, 0.28),
        0 8px 20px -8px rgba(11, 20, 36, 0.10);

    /* 缓动 */
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --transition: all 0.32s var(--ease-out);
}

/* --------------------------------------------------------------------------
   3. Base
   -------------------------------------------------------------------------- */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: var(--fs-body);
    line-height: 1.75;
    color: var(--text-700);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
    line-height: 1.3;
    color: var(--text-900);
    letter-spacing: -0.01em;
}

img {
    display: block;
    max-width: 100%;
    /* 必须显式 auto：HTML 的 width/height 属性会固定高度，
       让 aspect-ratio 失效，图片被拉成属性里的原始像素高 */
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--sp-3);
}

/* --------------------------------------------------------------------------
   4. Header / Nav
   -------------------------------------------------------------------------- */
/* 注意：backdrop-filter 不能加在 .header 上 —— 它会成为 containing block，
   让内部 position:固定 的移动端菜单相对 header 而不是视口定位。
   模糊层放到 ::before 上，它是兄弟节点，不影响 .nav-menu 的定位基准。 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.82);
    border-bottom: 1px solid transparent;
    z-index: 1000;
    transition: background 0.3s var(--ease-out), border-color 0.3s var(--ease-out),
        box-shadow 0.3s var(--ease-out);
}

.header::before {
    content: "";
    position: absolute;
    inset: 0;
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    pointer-events: none;
    z-index: -1;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.94);
    border-bottom-color: var(--line);
    box-shadow: 0 8px 24px -16px rgba(11, 20, 36, 0.5);
}

.navbar {
    padding: var(--sp-2) 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-3);
}

/* 站名不是页面标题，H1 交给首屏主标题。
   这里只做品牌区版面，字号与图形保持不变。 */
.logo-text {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    color: var(--text-900);
    white-space: nowrap;
}

.logo-text svg {
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 18px -8px rgba(31, 86, 201, 0.75),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    transition: transform 0.42s var(--ease-out), box-shadow 0.42s var(--ease-out);
}

.logo:hover .logo-text svg {
    transform: rotate(-6deg) scale(1.05);
    box-shadow: 0 12px 24px -8px rgba(31, 86, 201, 0.85),
        0 0 0 1px rgba(255, 255, 255, 0.6) inset;
}

.logo-text span {
    color: var(--ink-900);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: clamp(12px, 1.5vw, 26px);
    list-style: none;
}

.nav-link {
    position: relative;
    display: inline-block;
    padding: 7px 1px;
    font-size: 0.985rem;
    font-weight: 650;
    letter-spacing: 0.01em;
    color: var(--text-900);
    text-decoration: none;
    transition: color 0.24s var(--ease-out);
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2.5px;
    background: var(--grad-accent);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease-out);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-600);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

/* 真正的 button：重置浏览器默认样式，保留原有外观 */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    margin-right: -5px;
    padding: 0;
    align-items: center;
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.hamburger:focus-visible {
    outline: 2px solid var(--accent-500);
    outline-offset: 2px;
    border-radius: 6px;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink-700);
    border-radius: 2px;
    transition: transform 0.3s var(--ease-out), opacity 0.2s linear;
}

/* --------------------------------------------------------------------------
   5. Hero
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    height: 680px;
    padding: 0;
    overflow: hidden;
    background: var(--ink-900);
    isolation: isolate;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    color: var(--white);
    transition: opacity 0.9s var(--ease-out), visibility 0.9s;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

/* 背景层：透明底通用插图 + 深色底。插图不含行业物件，换任何业务都成立 */
.hero-background {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--grad-ink);
    overflow: hidden;
}

/* 插图是透明底矢量，用 contain 完整显示，不能 cover 裁切。
   靠右对齐，左侧留给标题文字 */
.hero-background picture {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: right center;
    padding: 0 clamp(0px, 2vw, 40px) 0 0;
    opacity: 0.9;
    transform: scale(1.03);
    transition: transform 7s linear;
}

.hero-slide.active .hero-background img {
    transform: scale(1);
}

/* 插图不是照片，只用一层从左到右的过渡，让左侧文字区与右侧插图自然衔接 */
.hero-background::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(100deg, rgba(7, 13, 24, 0.96) 0%, rgba(7, 13, 24, 0.86) 46%, rgba(7, 13, 24, 0.18) 100%);
}

/* 细网格纹理，压住照片的杂色 */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(circle at 30% 50%, #000 0%, transparent 72%);
    -webkit-mask-image: radial-gradient(circle at 30% 50%, #000 0%, transparent 72%);
}

.hero .container {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    height: 100%;
}

.hero-content {
    position: relative;
    max-width: 640px;
    text-align: left;
}

.hero-title {
    font-size: var(--fs-hero);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--white);
    text-shadow: 0 2px 20px rgba(4, 10, 20, 0.5);
    margin-bottom: var(--sp-2);
}

/* 副标题不做胶囊、不加边框：靠字号与颜色区分，不靠容器 */
.hero-subtitle {
    display: block;
    font-size: var(--fs-lead);
    font-weight: 600;
    color: var(--gold-400);
    letter-spacing: 0.02em;
    margin-bottom: var(--sp-3);
}

.hero-description {
    font-size: var(--fs-body);
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.78);
    max-width: 520px;
    margin-bottom: var(--sp-4);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-2);
}

/* 首屏入场（仅第一屏，由 CSS 驱动，不依赖 JS） */
.hero-slide.active .hero-title,
.hero-slide.active .hero-subtitle,
.hero-slide.active .hero-description,
.hero-slide.active .hero-buttons {
    animation: heroRise 0.9s var(--ease-out) backwards;
}

.hero-slide.active .hero-title { animation-delay: 0.05s; }
.hero-slide.active .hero-subtitle { animation-delay: 0.16s; }
.hero-slide.active .hero-description { animation-delay: 0.27s; }
.hero-slide.active .hero-buttons { animation-delay: 0.38s; }

/* 指示器 */
.hero-indicators {
    position: absolute;
    left: 50%;
    bottom: var(--sp-4);
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

/* 指示器是真按钮：清掉默认背景/边框，点击区比视觉条更高，方便手指 */
.indicator {
    width: 26px;
    height: 3px;
    padding: 0;
    border: none;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.30);
    box-shadow: 0 0 0 7px transparent;
    box-sizing: content-box;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    transition: background 0.3s var(--ease-out), width 0.3s var(--ease-out),
        box-shadow 0.3s var(--ease-out);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.6);
}

.indicator:focus-visible {
    outline: none;
    box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.22);
}

.indicator.active {
    width: 44px;
    background: var(--gold-400);
}

/* 箭头 */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 3px;
    font-size: 1.6rem;
    line-height: 1;
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    cursor: pointer;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background 0.28s var(--ease-out), border-color 0.28s var(--ease-out),
        transform 0.28s var(--ease-out);
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateY(-50%) scale(1.06);
}

.hero-arrow-left { left: var(--sp-4); }
.hero-arrow-right { right: var(--sp-4); }

/* --------------------------------------------------------------------------
   6. Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 var(--sp-4);
    font-size: var(--fs-sm);
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: var(--r-sm);
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    color: var(--white);
    background: var(--grad-accent);
    box-shadow: 0 10px 24px -12px rgba(47, 109, 224, 0.9);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px -14px rgba(47, 109, 224, 0.95);
}

.btn-secondary {
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.36);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-outline {
    color: var(--accent-600);
    background: transparent;
    border-color: var(--accent-400);
}

.btn-outline:hover {
    color: var(--white);
    background: var(--accent-600);
    border-color: var(--accent-600);
}

.btn-block {
    width: 100%;
}

/* --------------------------------------------------------------------------
   7. Section 通用
   -------------------------------------------------------------------------- */
/* 区块上下留白用于做节奏：不同区块给不同高度，
   不再全部 96px，避免整页像等距堆叠的长条。 */
section {
    padding: var(--sp-7) 0;
    position: relative;
    /* 直接带 #anchors 打开或键盘跳转时，浏览器不会走脚本的补偿，
       标题会钻到吸顶导航底下。留出导航高度再补 12px 呼吸位。 */
    scroll-margin-top: calc(var(--header-h, 75px) + 12px);
}

/* 标题块：把 H2 与副标题收进同一容器，
   这样各区块只改容器间距，不用逐条改标题的 margin。 */
.section-head {
    margin-bottom: var(--sp-5);
}

.section-head .section-title {
    margin-bottom: var(--sp-2);
}

.section-head .section-subtitle {
    margin-bottom: 0;
}

.section-title {
    position: relative;
    display: block;
    width: 100%;
    text-align: center;
    font-size: var(--fs-h2);
    font-weight: 700;
    color: var(--text-900);
    margin-bottom: var(--sp-2);
}

.section-title::after {
    content: "";
    display: block;
    width: 44px;
    height: 3px;
    margin: 18px auto 0;
    border-radius: 2px;
    background: var(--grad-accent);
}

.section-subtitle {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--sp-5);
    font-size: var(--fs-body);
    color: var(--text-500);
}

/* --------------------------------------------------------------------------
   8. Services
   -------------------------------------------------------------------------- */
/* 底色收到 paper-2：原来收在纯白，和下一块白底的优势区连成一片，
   两块内容之间没有视觉分界。 */
.services {
    background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
    /* 装饰性光晕用 right:-160px 溢出到容器外，必须裁掉，否则整页横向滚动 */
    overflow: hidden;
    /* 首屏之后的第一块：顶部留白收窄，让内容离首屏近一点 */
    padding-top: var(--sp-6);
}

.services::before {
    content: "";
    position: absolute;
    top: -180px;
    right: -160px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79, 139, 240, 0.13) 0%, transparent 68%);
    pointer-events: none;
}

.services .container {
    position: relative;
}

/* 1 大 + 5 小：主推服务占 2×2 格，其余五项填满剩余格位。
   3 列 × 3 行 = 9 格，大卡占 4 格，五张小卡各占 1 格，正好铺满。 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--sp-3);
}

.service-card.is-featured {
    grid-column: span 2;
    grid-row: span 2;
    /* 主卡比同类高出一倍，内容撑不满。整体居中，
       多出来的高度平分到上下，比全都堆在图片上方自然。 */
    justify-content: center;
}

/* 主推卡的高度由旁边五张小卡撑出来，内容本身只有一半高。
   插图不再去吸收全部多余高度：给一个上限，剩下的空间留白。 */
.service-card.is-featured .service-media {
    flex: 0 1 auto;
    display: block;
    min-height: 0;
}

.service-card.is-featured .service-media img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 440px;
    aspect-ratio: auto;
    object-fit: contain;
    padding: 0;
    margin: 0 auto;
}

.service-body {
    display: flex;
    flex-direction: column;
    flex: none;
    height: auto;
}

.service-card.is-featured h3 {
    font-size: 1.5rem;
}

.service-card.is-featured p {
    max-width: 40em;
}

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: var(--sp-3);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform 0.36s var(--ease-out), box-shadow 0.36s var(--ease-out),
        border-color 0.36s var(--ease-out);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-200);
    box-shadow: var(--shadow-lg);
}

/* 图片位：贴到卡片上沿，靠负 margin 吃掉内边距 */
.service-media {
    margin: calc(var(--sp-3) * -1) calc(var(--sp-3) * -1) var(--sp-3);
    overflow: hidden;
    background: var(--white);
}

/* 插图位：透明底矢量，完整显示不裁切，居中留白 */
.service-media picture {
    display: block;
}

.service-media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    padding: 8% 6%;
    transition: transform 0.6s var(--ease-out);
}

.service-card:hover .service-media img {
    transform: scale(1.045);
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: var(--sp-2);
    color: var(--accent-600);
    background: var(--accent-050);
    border-radius: var(--r-sm);
    transition: var(--transition);
}

.service-icon svg {
    width: 22px;
    height: 22px;
}

.service-card:hover .service-icon {
    color: var(--white);
    background: var(--accent-600);
    transform: translateY(-2px);
}

.service-card h3 {
    font-size: var(--fs-h3);
    font-weight: 700;
    color: var(--text-900);
    margin-bottom: var(--sp-1);
}

.service-card p {
    font-size: var(--fs-body);
    line-height: 1.8;
    color: var(--text-500);
}

/* --------------------------------------------------------------------------
   9. Advantages
   -------------------------------------------------------------------------- */
.advantages {
    background: var(--white);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--sp-3);
}

.advantage-item {
    position: relative;
    padding: var(--sp-4) var(--sp-3);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    transition: transform 0.36s var(--ease-out), box-shadow 0.36s var(--ease-out),
        border-color 0.36s var(--ease-out), background 0.36s var(--ease-out);
}

.advantage-item:hover {
    background: var(--white);
    border-color: var(--accent-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

/* 这四条是并列优势，不是流程，所以不做 01/02/03 编号。
   用一行英文小标当节拍：英文只做装饰，读屏不读它，
   HTML 上标了 aria-hidden。 */
.advantage-eyebrow,
.service-eyebrow,
.case-eyebrow {
    display: block;
    margin-bottom: var(--sp-2);
    font-family: var(--font-num);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-500);
}

/* 服务卡里图标在上、小标接在图标下方，间距收一点 */
.service-eyebrow {
    margin-bottom: 6px;
}

/* 案例卡的英文小标和平台名同一行时不需要额外下间距；
   header 是 flex 行，所以让小标独占一行、两个标签跟在下面。 */
.case-eyebrow {
    margin-bottom: 0;
    flex: 0 0 100%;
}

.advantage-item h3 {
    font-size: var(--fs-h3);
    font-weight: 700;
    color: var(--text-900);
    margin-bottom: var(--sp-1);
}

.advantage-item p {
    font-size: var(--fs-sm);
    line-height: 1.8;
    color: var(--text-500);
}

/* --------------------------------------------------------------------------
   10. Process
   -------------------------------------------------------------------------- */
/* 流程区改浅底：原先 .process 与 .statistics 是两个相邻的深色带，
   中间没有任何分隔，连读起来像一整块黑洞。这里把流程放回浅色，
   只留数据区一个深色锚点，全页的深浅节奏才对得上。
   四步的序号与连线是这个区块唯一需要"显得严谨"的地方，用蓝色连线强化。 */
.process {
    background: var(--paper-2);
    background-image:
        radial-gradient(circle at 12% 0%, rgba(79, 139, 240, 0.10) 0%, transparent 55%);
}

.process-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--sp-3);
}

/* 贯穿四步的连线 */
.process-timeline::before {
    content: "";
    position: absolute;
    top: 30px;
    left: 12%;
    right: 12%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(31, 86, 201, 0.22) 12%, rgba(31, 86, 201, 0.22) 88%, transparent);
    pointer-events: none;
}

.process-step {
    position: relative;
    padding: var(--sp-3);
    text-align: left;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.36s var(--ease-out), background 0.36s var(--ease-out),
        border-color 0.36s var(--ease-out), box-shadow 0.36s var(--ease-out);
}

.process-step:hover {
    border-color: var(--accent-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

/* 这里是真流程（第几步），编号有意义，保留圆点。 */
.step-number {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: var(--sp-3);
    font-family: var(--font-num);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    background: var(--accent-600);
    border-radius: 50%;
    box-shadow: 0 0 0 6px var(--paper-2);
}

.process-step h3 {
    font-size: var(--fs-h3);
    font-weight: 700;
    color: var(--text-900);
    margin-bottom: var(--sp-1);
}

.process-step p {
    font-size: var(--fs-sm);
    line-height: 1.8;
    color: var(--text-500);
}

/* --------------------------------------------------------------------------
   11. Statistics
   -------------------------------------------------------------------------- */
/* 数据区是全页唯一的深色锚点：流程区已经改浅，这里保留深底做对比焦点。 */
.statistics {
    background: var(--grad-ink);
    color: var(--white);
    overflow: hidden;
}

.statistics::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 78%);
    -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 78%);
    pointer-events: none;
}

.statistics .container {
    position: relative;
}

.statistics .section-title {
    color: var(--white);
}

.statistics .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

.statistics-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--sp-3);
}

.stat-card {
    position: relative;
    padding: var(--sp-4) var(--sp-3);
    text-align: center;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--r-md);
    transition: background 0.36s var(--ease-out), border-color 0.36s var(--ease-out),
        transform 0.36s var(--ease-out);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(216, 187, 138, 0.45);
    transform: translateY(-4px);
}

.stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: var(--sp-2);
    color: var(--gold-400);
    opacity: 0.9;
}

.stat-icon svg {
    width: 26px;
    height: 26px;
}

/* 数字用单色 + 大字重 + 尺寸台阶，不做渐变裁字 */
.stat-number {
    font-family: var(--font-num);
    font-size: clamp(2.2rem, 3.6vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--gold-400);
    margin-bottom: 6px;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
}

.stat-desc {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.52);
}

/* --------------------------------------------------------------------------
   12. Cases
   -------------------------------------------------------------------------- */
.cases {
    background: var(--paper);
}

/* 一个详版 + 两个简版：左列仍跨两行，但不把卡片本身拉满。
   框按内容高度，在右列两张卡中间垂直居中。 */
.cases-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: var(--sp-3);
    align-items: center;
}

.case-card.is-featured {
    grid-row: span 2;
    align-self: center;
    height: auto;
}

.case-body {
    display: flex;
    flex-direction: column;
}

.case-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: var(--sp-3);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform 0.36s var(--ease-out), box-shadow 0.36s var(--ease-out),
        border-color 0.36s var(--ease-out);
}

.case-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-200);
    box-shadow: var(--shadow-lg);
}

.case-media {
    margin: calc(var(--sp-3) * -1) calc(var(--sp-3) * -1) var(--sp-3);
    overflow: hidden;
    background: var(--white);
}

.case-media picture {
    display: block;
}

.case-media img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: contain;
    padding: 7% 8%;
    transition: transform 0.6s var(--ease-out);
}

.case-card:hover .case-media img {
    transform: scale(1.045);
}

.case-card.is-featured .case-media img {
    aspect-ratio: 16 / 9;
}

.case-card.is-featured h3 {
    font-size: 1.35rem;
}

/* 简版案例：尺寸小一档，用间距而不是缩字号来压体积 */
.case-card:not(.is-featured) {
    padding: var(--sp-3);
}

.case-card:not(.is-featured) h3 {
    margin-bottom: var(--sp-1);
}

.case-card:not(.is-featured) .case-stats {
    margin-top: var(--sp-2);
    margin-bottom: 0;
}

.case-card:not(.is-featured) .case-desc {
    margin-bottom: var(--sp-2);
}

.case-header {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-1);
    margin-bottom: var(--sp-2);
}

.case-platform {
    padding: 4px 12px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--white);
    background: var(--ink-700);
    border-radius: var(--r-pill);
}

.case-category {
    padding: 4px 12px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent-600);
    background: var(--accent-050);
    border: 1px solid var(--accent-200);
    border-radius: var(--r-pill);
}

.case-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-900);
    margin-bottom: var(--sp-2);
}

.case-stats {
    padding: var(--sp-2);
    margin-bottom: var(--sp-2);
    background: var(--paper);
    border-radius: var(--r-sm);
}

.case-stat {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--sp-2);
    padding: 5px 0;
}

.case-stat .label {
    font-size: var(--fs-sm);
    color: var(--text-500);
    white-space: nowrap;
}

.case-stat .value {
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--text-900);
    text-align: right;
}

.case-stat .highlight {
    color: var(--accent-600);
    font-weight: 700;
}

.case-desc {
    font-size: var(--fs-sm);
    line-height: 1.8;
    color: var(--text-500);
}

/* --------------------------------------------------------------------------
   13. Security
   -------------------------------------------------------------------------- */
.security {
    background: var(--white);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--sp-3);
    margin-bottom: var(--sp-4);
}

.security-card {
    padding: var(--sp-3);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    transition: transform 0.36s var(--ease-out), box-shadow 0.36s var(--ease-out),
        border-color 0.36s var(--ease-out);
}

.security-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-200);
    box-shadow: var(--shadow-md);
}

.security-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: var(--sp-2);
    color: var(--accent-600);
    background: var(--accent-050);
    border-radius: var(--r-sm);
    transition: var(--transition);
}

.security-icon svg {
    width: 22px;
    height: 22px;
}

.security-card:hover .security-icon {
    color: var(--white);
    background: var(--grad-accent);
}

.security-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-900);
    margin-bottom: var(--sp-1);
}

.security-list {
    list-style: none;
}

.security-list li {
    position: relative;
    padding: 9px 0 9px 16px;
    font-size: var(--fs-sm);
    line-height: 1.65;
    color: var(--text-500);
    border-bottom: 1px solid var(--paper-2);
}

.security-list li:last-child {
    border-bottom: none;
}

.security-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold-500);
}

.security-promise {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: var(--sp-4);
    row-gap: var(--sp-2);
    padding: calc(var(--sp-4) + 4px);
    color: var(--white);
    background: var(--grad-ink);
    border-radius: var(--r-lg);
    overflow: hidden;
    text-align: left;
}

.security-promise::before {
    content: "";
    position: absolute;
    top: -40%;
    right: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(47, 109, 224, 0.30) 0%, transparent 68%);
    pointer-events: none;
}

.security-media {
    position: relative;
    display: block;
    grid-row: 1 / span 2;
    grid-column: 1;
    align-self: center;
    width: 100%;
    aspect-ratio: 12 / 7;
    padding: 4%;
    border-radius: var(--r-md);
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: var(--ink-700);
}

.security-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.security-promise h3 {
    position: relative;
    grid-row: 1;
    grid-column: 2;
    align-self: end;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0;
}

.security-promise p {
    position: relative;
    grid-row: 2;
    grid-column: 2;
    align-self: start;
    font-size: var(--fs-body);
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.74);
}

/* --------------------------------------------------------------------------
   14. FAQ
   -------------------------------------------------------------------------- */
.faq {
    background: var(--paper);
}

.faq-container {
    max-width: 880px;
    margin: 0 auto;
    counter-reset: faq;
}

.faq-item {
    margin-bottom: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
    counter-increment: faq;
}

.faq-item:hover {
    border-color: var(--accent-200);
}

.faq-item.active {
    border-color: var(--accent-400);
    box-shadow: var(--shadow-md);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-2);
    padding: var(--sp-3);
    cursor: pointer;
    user-select: none;
    transition: background 0.24s var(--ease-out);
}

.faq-question:hover {
    background: var(--accent-050);
}

.faq-question h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-900);
    margin: 0;
}

/* 编号用计数器画，HTML 里不写死数字：以后增删条目不用手改序号。
   序号是视觉辅助，问题本身已经是完整句子，读屏不需要读它。 */
.faq-question h3::before {
    content: counter(faq) ". ";
    font-family: var(--font-num);
    font-weight: 700;
    color: var(--accent-400);
    margin-right: 2px;
}

/* +/− 用伪元素画，不依赖字符 */
.faq-toggle {
    position: relative;
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    transition: transform 0.34s var(--ease-out);
}

.faq-toggle::before,
.faq-toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--accent-600);
    border-radius: 1px;
    transition: opacity 0.28s var(--ease-out), transform 0.34s var(--ease-out);
}

.faq-toggle::before {
    width: 14px;
    height: 1.6px;
    transform: translate(-50%, -50%);
}

.faq-toggle::after {
    width: 1.6px;
    height: 14px;
    transform: translate(-50%, -50%);
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-item.active .faq-toggle::after {
    opacity: 0;
    transform: translate(-50%, -50%) scaleY(0);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out);
}

.faq-item.active .faq-answer {
    max-height: 600px;
}

.faq-answer p {
    padding: 0 var(--sp-3) var(--sp-3);
    font-size: var(--fs-sm);
    line-height: 1.9;
    color: var(--text-500);
}

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */
.footer {
    padding: var(--sp-6) 0 var(--sp-3);
    color: rgba(255, 255, 255, 0.72);
    background: var(--ink-900);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: var(--sp-5);
    margin-bottom: var(--sp-5);
}

.footer-section h3 {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--white);
    margin-bottom: var(--sp-2);
}

.footer-section p {
    font-size: var(--fs-sm);
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.56);
    max-width: 460px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 6px;
}

.footer-section ul li a {
    display: inline-block;
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.62);
    text-decoration: none;
    transition: color 0.24s var(--ease-out), transform 0.24s var(--ease-out);
}

.footer-section ul li a:hover {
    color: var(--gold-400);
    transform: translateX(3px);
}

.footer-bottom {
    padding-top: var(--sp-3);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    line-height: 1.9;
    /* 0.42 在 #070d18 上只有 4.07:1，正文小字低于 4.5 门槛；
       提到 0.58 后实测约 6.3:1，视觉上仍是弱化的辅助信息。 */
    color: rgba(255, 255, 255, 0.58);
}

.footer-bottom p + p {
    margin-top: 4px;
    max-width: 46rem;
    margin-left: auto;
    margin-right: auto;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: color 0.24s var(--ease-out), border-color 0.24s var(--ease-out);
}

.footer-bottom a:hover {
    color: var(--gold-400);
    border-bottom-color: var(--gold-400);
}

/* --------------------------------------------------------------------------
   16. Fixed Buttons
   -------------------------------------------------------------------------- */
.fixed-buttons {
    position: fixed;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 999;
}

.btn-register,
.btn-login {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 132px;
    min-height: 52px;
    padding: 18px 28px;
    font-family: var(--font-sans);
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-decoration: none;
    text-align: center;
    border-radius: var(--r-pill);
    transition: var(--transition);
}

.btn-register {
    color: var(--white);
    background: var(--accent-600);
    box-shadow: 0 10px 22px -10px rgba(31, 86, 201, 0.85);
}

.btn-register:hover {
    background: var(--accent-500);
    transform: translateX(-5px);
    box-shadow: 0 14px 28px -10px rgba(31, 86, 201, 0.95);
}

.btn-login {
    color: var(--ink-800);
    background: var(--white);
    border: 1.5px solid var(--ink-800);
    box-shadow: 0 8px 20px -12px rgba(11, 20, 36, 0.5);
}

.btn-login:hover {
    color: var(--white);
    background: var(--ink-800);
    transform: translateX(-5px);
    box-shadow: 0 14px 26px -12px rgba(11, 20, 36, 0.65);
}

/* 右侧悬浮位要靠容器两侧的空白才放得下：容器最宽 1200，
   按钮宽约 132、距右边 18，所以与正文列之间的空隙是 视口/2 - 734。
   视口 1484 以下空隙不足 24px，会贴着正文边缘（1440 时只剩 2px），
   这一段改成贴底一条，正文就不会被压到。 */
@media (max-width: 1483px) {
    .fixed-buttons {
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        transform: none;
        flex-direction: row;
        justify-content: center;
        gap: 12px;
        padding: 12px 16px;
        padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        background: rgba(255, 255, 255, 0.97);
        border-top: 1px solid var(--line);
        box-shadow: 0 -8px 22px -14px rgba(11, 20, 36, 0.45);
    }

    .fixed-buttons .btn-register,
    .fixed-buttons .btn-login {
        flex: 1 1 0;
        max-width: 240px;
        min-width: 0;
        min-height: 48px;
        padding: 16px 22px;
        font-size: 1.05rem;
        letter-spacing: 0.04em;
    }

    /* 底栏加大后约 88–96px 高：把深色页脚延到 120px，
       按钮压在页脚上而不是盖住最后一行正文 */
    .footer {
        padding-bottom: 120px;
    }

    .back-to-top {
        bottom: 112px;
    }
}

/* --------------------------------------------------------------------------
   17. Back to Top
   -------------------------------------------------------------------------- */
.back-to-top {
    position: fixed;
    right: var(--sp-3);
    bottom: var(--sp-3);
    z-index: 999;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 2px;
    font-size: 1.1rem;
    color: var(--white);
    background: var(--ink-700);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    box-shadow: var(--shadow-lg);
    transition: opacity 0.3s var(--ease-out), visibility 0.3s,
        transform 0.3s var(--ease-out), background 0.3s var(--ease-out);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent-600);
    transform: translateY(-3px);
}

/* --------------------------------------------------------------------------
   18. 滚动显现（用 translate 属性，不占用 transform，避免覆盖 hover）
   -------------------------------------------------------------------------- */
[data-reveal] {
    opacity: 0;
    translate: 0 26px;
    transition: opacity 0.7s var(--ease-out), translate 0.7s var(--ease-out);
}

[data-reveal].is-revealed {
    opacity: 1;
    translate: 0 0;
}

/* --------------------------------------------------------------------------
   19. Keyframes
   -------------------------------------------------------------------------- */
@keyframes heroRise {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* --------------------------------------------------------------------------
   20. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
    .nav-menu {
        gap: 13px;
    }

    .nav-link {
        font-size: 0.92rem;
    }

    .advantages-grid,
    .statistics-grid,
    .security-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* 两列时大卡的 2×2 会吃掉整行，改成只跨列不跨行，
       五张小卡排成 2 列 3 行（最后一张自然留白，比强行铺满更好看） */
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-card.is-featured {
        grid-column: span 2;
        grid-row: auto;
    }

    .service-card.is-featured .service-media img {
        aspect-ratio: 21 / 9;
        height: auto;
        flex: none;
    }

    .service-card.is-featured .service-media {
        flex: none;
        min-height: 0;
        display: block;
    }

    .cases-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .case-card.is-featured {
        grid-column: span 2;
        grid-row: auto;
    }

    .process-timeline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process-timeline::before {
        display: none;
    }
}

@media (max-width: 900px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: min(300px, 82vw);
        height: 100vh;
        flex-direction: column;
        justify-content: flex-start;
        gap: 0;
        padding: 84px var(--sp-3) var(--sp-4);
        background: var(--white);
        box-shadow: -20px 0 50px -30px rgba(11, 20, 36, 0.6);
        transform: translateX(100%);
        transition: transform 0.36s var(--ease-out);
        overflow-y: auto;
        z-index: 2;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .hamburger {
        position: relative;
        z-index: 3;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--paper-2);
    }

    .nav-link {
        display: block;
        padding: 14px 0;
        font-size: 0.95rem;
    }

    .nav-link::after {
        display: none;
    }

    .hero {
        height: 600px;
    }

    .hero-background::after {
        background:
            linear-gradient(180deg, rgba(7, 13, 24, 0.90) 0%, rgba(7, 13, 24, 0.72) 55%, rgba(7, 13, 24, 0.86) 100%);
    }

    /* 窄屏文字居中并铺满宽度，插图退为极淡的底纹，避免与文字打架 */
    .hero-background img {
        object-position: center;
        opacity: 0.22;
    }

    .hero-arrow {
        display: none;
    }

    .security-promise {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        row-gap: var(--sp-3);
        column-gap: 0;
        text-align: center;
    }

    .security-media {
        grid-row: auto;
        grid-column: 1;
        margin-bottom: var(--sp-1);
    }

    .security-promise h3,
    .security-promise p {
        grid-row: auto;
        grid-column: 1;
    }

    .security-promise h3 {
        margin-bottom: var(--sp-2);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: var(--sp-4);
    }

    .footer-content .footer-section:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    /* 手机导航实测 77px，锚点让位跟着抬 2px */
    :root {
        --header-h: 77px;
    }

    section {
        padding: var(--sp-6) 0;
    }

    .hero {
        height: 560px;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .services-grid,
    .advantages-grid,
    .process-timeline,
    .statistics-grid,
    .cases-grid,
    .security-grid {
        grid-template-columns: 1fr;
    }

    /* 单列时"跨 2 列"会溢出容器，统一收回 */
    .service-card.is-featured,
    .case-card.is-featured {
        grid-column: auto;
        grid-row: auto;
    }

    .service-card.is-featured .service-media img,
    .case-card.is-featured .case-media img {
        aspect-ratio: 4 / 3;
        height: auto;
        flex: none;
    }

    .service-card.is-featured .service-media {
        flex: none;
        min-height: 0;
        display: block;
    }

    .hero-indicators {
        bottom: var(--sp-3);
    }

    .btn-register,
    .btn-login {
        font-size: 1rem;
        letter-spacing: 0.04em;
    }

    .back-to-top {
        right: 12px;
        bottom: 104px;
        width: 40px;
        height: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-section p {
        margin-left: auto;
        margin-right: auto;
    }

    .case-stat {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .case-stat .value {
        text-align: left;
    }
}

/* --------------------------------------------------------------------------
   21. Reduced Motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    [data-reveal] {
        opacity: 1;
        translate: 0 0;
    }

    .hero-background img,
    .hero-slide.active .hero-background img {
        transform: none;
    }
}

/* --------------------------------------------------------------------------
   22. Inner pages（复用首页首屏、卡片、流程、按钮，不另起皮肤）
   -------------------------------------------------------------------------- */
.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.page-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: 640px;
    padding: calc(var(--header-h, 75px) + var(--sp-4)) 0 var(--sp-5);
    color: var(--white);
    background: var(--ink-900);
    overflow: hidden;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(circle at 30% 50%, #000 0%, transparent 72%);
    -webkit-mask-image: radial-gradient(circle at 30% 50%, #000 0%, transparent 72%);
}

/* 首页 .hero-background 是 z-index:-1（相对 slide）。内页 page-hero 自建层叠，
   不抬到 0 的话插图会掉到墨底后面。 */
.page-hero .hero-background {
    z-index: 0;
}

.page-hero .container {
    position: relative;
    z-index: 3;
    width: 100%;
}

.page-hero .hero-content {
    max-width: 640px;
}

.page-hero .hero-title {
    max-width: 760px;
}

.page-hero .hero-description {
    max-width: 560px;
    margin-bottom: var(--sp-4);
}

.page-hero .hero-background img {
    transform: none;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 var(--sp-2);
    padding: 0;
    list-style: none;
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.62);
}

.breadcrumb li + li::before {
    content: "/";
    margin-right: 8px;
    color: rgba(255, 255, 255, 0.38);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
    color: var(--gold-400);
}

.inner-section {
    background: var(--white);
    overflow: hidden;
}

.inner-section.is-alt {
    background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
}

.inner-prose {
    max-width: 760px;
    margin-bottom: var(--sp-4);
}

.services-grid + .inner-prose,
.advantages-grid + .inner-prose,
.process-timeline + .inner-prose,
.check-list + .inner-prose {
    margin-top: var(--sp-4);
}

.inner-prose p {
    margin-bottom: var(--sp-2);
}

.inner-prose ul,
.inner-prose ol {
    margin: 0 0 var(--sp-3);
    padding-left: 1.25em;
}

.inner-prose li {
    margin-bottom: 8px;
}

.inner-prose a,
.section-subtitle a {
    color: var(--accent-600);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.inner-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-2);
    margin-top: var(--sp-4);
}

.inner-cta.is-center {
    justify-content: center;
}

.related-pages {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: var(--sp-3);
}

.related-pages a {
    color: var(--accent-600);
    text-decoration: none;
    font-weight: 650;
}

.related-pages a:hover,
.related-pages a:focus-visible {
    text-decoration: underline;
}

.check-list {
    list-style: none;
    padding: 0 var(--sp-3);
    margin: 0 0 var(--sp-3);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
}

.check-list li {
    position: relative;
    padding: 14px 0 14px 28px;
    border-bottom: 1px solid var(--line);
}

.check-list li:last-child {
    border-bottom: none;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 22px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-500);
}

.services-grid.is-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.advantages-grid.is-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.not-found-code {
    font-family: var(--font-num);
    font-size: clamp(3.2rem, 8vw, 5.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--gold-400);
    line-height: 1;
    margin-bottom: var(--sp-2);
}

@media (max-width: 1080px) {
    .services-grid.is-two,
    .advantages-grid.is-three {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .page-hero {
        min-height: 560px;
    }
}

@media (max-width: 640px) {
    .page-hero {
        min-height: 560px;
    }

    .page-hero .hero-content {
        text-align: center;
        max-width: 100%;
    }

    .page-hero .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .page-hero .hero-buttons {
        justify-content: center;
    }

    .breadcrumb {
        justify-content: center;
    }

    .services-grid.is-two,
    .advantages-grid.is-three {
        grid-template-columns: 1fr;
    }

    .inner-cta {
        justify-content: center;
    }

    .related-pages {
        justify-content: center;
    }
}
