/**
 * 首页背景草稿 —— 全黑统一风格 + 分区翻页过渡
 */

:root {
    --hd-accent: #5b9cff;
    --hd-accent-soft: rgba(91, 156, 255, 0.18);
    --hd-ink: #e8eef8;
    --hd-muted: rgba(190, 205, 230, 0.72);
    --hd-dark: #050b16;
    --hd-dark-2: #0a1220;
    --hd-dark-3: #0d1829;
    --hd-card: rgba(255, 255, 255, 0.04);
    --hd-border: rgba(255, 255, 255, 0.1);
    --hd-ease: cubic-bezier(0.23, 1, 0.32, 1);
}

/* 顶栏/页脚壳层已迁至 site-dark.css；此处仅保留首页分区样式 */

/* 首页首屏顶满视口：去掉 main 为固定顶栏预留的 70px，背景从图顶铺起 */
body.home-draft-page main {
    margin-top: 0;
}

/* 自由滚动：不做 scroll-snap / 强制跳段 */

/* ---------- 滚动揭示（非强制翻页） ---------- */
.home-reveal {
    opacity: 0;
    transform: translateY(48px) scale(0.985);
    filter: blur(4px);
    transition:
        opacity 0.7s var(--hd-ease),
        transform 0.75s var(--hd-ease),
        filter 0.7s var(--hd-ease);
    will-change: opacity, transform, filter;
}

.home-reveal.is-inview {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.home-reveal__stagger > *:nth-child(1) { transition-delay: 0.05s; }
.home-reveal__stagger > *:nth-child(2) { transition-delay: 0.12s; }
.home-reveal__stagger > *:nth-child(3) { transition-delay: 0.19s; }
.home-reveal__stagger > *:nth-child(4) { transition-delay: 0.26s; }

.home-reveal__stagger > * {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s var(--hd-ease), transform 0.55s var(--hd-ease);
}

.home-reveal.is-inview .home-reveal__stagger > *,
.home-reveal.is-inview.home-reveal__stagger > * {
    opacity: 1;
    transform: translateY(0);
}

/* 区块间柔和过渡带，避免硬切 */
.home-fade-edge {
    position: relative;
}

.home-fade-edge::before,
.home-fade-edge::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 64px;
    z-index: 3;
    pointer-events: none;
}

.home-fade-edge::before {
    top: 0;
    background: linear-gradient(180deg, var(--hd-dark), transparent);
}

.home-fade-edge::after {
    bottom: 0;
    background: linear-gradient(0deg, var(--hd-dark), transparent);
}

.home-fade-edge--mid::before,
.home-fade-edge--mid::after {
    background: linear-gradient(180deg, var(--hd-dark-2), transparent);
}

.home-fade-edge--mid::after {
    background: linear-gradient(0deg, var(--hd-dark-2), transparent);
}

/* ---------- Hero + 3D 环绕轮播 ---------- */
.home-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    /* 视觉重心略上移，避免标题与 CTA 被撑到贴底 */
    justify-content: flex-start;
    overflow: hidden; /* 背景裁切；环绕卡控制在舞台高度内 */
    color: #fff;
    /* 清掉全局 section 的 64px 内边距与底部 margin，bg/img 不再被「垫高」 */
    padding: 0;
    margin: 0;
    background:
        radial-gradient(ellipse at 50% 30%, rgba(30, 60, 110, 0.35), transparent 55%),
        linear-gradient(180deg, #050b16 0%, #070f1c 45%, #050b16 100%);
}

/* 全页固定环境层：不挡点击 */
.home-ambient-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.55;
}

body.home-draft-page > #header,
body.home-draft-page > main,
body.home-draft-page > #footer,
body.home-draft-page > .back-to-top,
body.home-draft-page > .scroll-indicator {
    position: relative;
    z-index: 1;
}

.home-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.28;
    margin: 0;
    padding: 0;
}

.home-hero__bg img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    filter: saturate(0.65) brightness(0.42);
    margin: 0;
    padding: 0;
    border: 0;
}

/* CSS 极光雾：缓慢漂移，和 Canvas 雷达/星野叠在一起 */
.home-hero__aurora {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.home-hero__aurora-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.55;
    will-change: transform;
}

.home-hero__aurora-blob--a {
    width: min(56vw, 520px);
    height: min(56vw, 520px);
    left: -8%;
    top: 8%;
    background: radial-gradient(circle, rgba(60, 120, 255, 0.55), transparent 70%);
    animation: home-aurora-drift-a 18s ease-in-out infinite alternate;
}

.home-hero__aurora-blob--b {
    width: min(48vw, 440px);
    height: min(48vw, 440px);
    right: -6%;
    top: 4%;
    background: radial-gradient(circle, rgba(40, 190, 210, 0.4), transparent 70%);
    animation: home-aurora-drift-b 22s ease-in-out infinite alternate;
}

.home-hero__aurora-blob--c {
    width: min(60vw, 560px);
    height: min(40vw, 360px);
    left: 28%;
    bottom: 12%;
    background: radial-gradient(circle, rgba(80, 140, 255, 0.28), transparent 72%);
    animation: home-aurora-drift-c 26s ease-in-out infinite alternate;
}

@keyframes home-aurora-drift-a {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(8%, 12%) scale(1.12); }
}

@keyframes home-aurora-drift-b {
    from { transform: translate(0, 0) scale(1.05); }
    to { transform: translate(-10%, 8%) scale(0.92); }
}

@keyframes home-aurora-drift-c {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(-6%, -10%) scale(1.15); }
}

.home-hero__veil {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(5, 11, 22, 0.5) 0%, rgba(5, 11, 22, 0.28) 38%, rgba(5, 11, 22, 0.9) 100%);
    z-index: 2;
    pointer-events: none;
}

#home-hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
    opacity: 0.9;
}

/* 胶片噪点：SVG fractalNoise，几乎无性能成本 */
.home-hero__grain {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    opacity: 0.14;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
    background-size: 180px 180px;
}

@media (prefers-reduced-motion: reduce) {
    .home-hero__aurora-blob {
        animation: none;
    }
}

.home-hero__top {
    position: relative;
    z-index: 3;
    text-align: center;
    /* 顶栏避让 + 保证首屏标题始终可见，避免只剩大图显得空 */
    padding: 76px 24px 8px;
    flex: 0 0 auto;
}

.home-hero__eyebrow {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(200, 218, 240, 0.92);
    margin-bottom: 8px;
}

.home-hero__title {
    font-size: clamp(26px, 3.6vw, 40px);
    font-weight: 650;
    line-height: 1.28;
    margin: 0 0 8px;
    color: #f2f7ff;
    text-shadow: 0 6px 28px rgba(0, 0, 0, 0.55);
}

.home-hero__desc {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(210, 222, 240, 0.88);
    margin: 0 auto;
    max-width: 640px;
}

/* 环绕轨道：接近全宽铺满（对齐 AGME 环绕观感） */
.home-orbit {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: none;
    margin: 4px 0 0;
    /* 左侧给列表留白，右侧贴边让邻卡铺到屏幕边缘 */
    padding: 0 12px 12px 28px;
    outline: none;
    flex: 1 1 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    min-height: 0;
    /* 裁切溢出，避免横向滚动条 */
    overflow: hidden;
}

.home-orbit__rail {
    position: relative;
    z-index: 4;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 4px;
    width: min(200px, 15vw);
    max-height: none; /* 五项完整露出，避免再出滚动条 */
    overflow: visible;
    /* 顶格文字：无玻璃盒、无内边距堆叠 */
    padding: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    align-self: center;
}

.home-orbit__counter {
    font-size: 11px;
    letter-spacing: 0.16em;
    color: rgba(160, 185, 220, 0.65);
    margin: 0 0 8px;
    padding: 0;
    line-height: 1.2;
}

.home-orbit__rail-item {
    appearance: none;
    border: 0;
    background: transparent;
    text-align: left;
    padding: 8px 0; /* 左右顶格，仅保留行距 */
    border-radius: 0;
    cursor: pointer;
    color: rgba(180, 200, 225, 0.72);
    transition: color 0.25s var(--hd-ease), opacity 0.25s var(--hd-ease);
}

.home-orbit__rail-item:hover {
    color: rgba(240, 246, 255, 0.96);
    background: transparent;
}

.home-orbit__rail-item.is-active {
    color: #fff;
    background: transparent;
    transform: none;
}

.home-orbit__rail-item .home-orbit__rail-date {
    display: block;
    font-size: 11px;
    letter-spacing: 0.08em;
    margin-bottom: 3px;
    opacity: 0.8;
}

.home-orbit__rail-item .home-orbit__rail-title {
    display: block;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 600;
}

.home-orbit__stage {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    /* 吃掉 Hero 剩余高度，舞台铺满可视宽度 */
    align-self: stretch;
    min-height: clamp(400px, 58vh, 640px);
    height: auto;
    perspective: 1600px;
    perspective-origin: 42% 48%;
    /* 允许邻卡探向右缘，由外层 .home-orbit 裁切 */
    overflow: visible;
}

.home-orbit__track {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    cursor: grab;
    user-select: none;
}

.home-orbit__track.is-dragging {
    cursor: grabbing;
}

.home-orbit__card {
    position: absolute;
    left: 50%;
    top: 50%;
    /* 大卡铺屏：接近参考站环绕主卡体量 */
    height: min(88%, 560px);
    width: auto;
    aspect-ratio: 16 / 10;
    max-width: min(820px, 68vw);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
    background: #121a2a;
    text-decoration: none;
    color: #fff;
    transform: translate(-50%, -50%) scale(0.85);
    opacity: 0.35;
    transform-style: preserve-3d;
    transition:
        transform 0.55s var(--hd-ease),
        opacity 0.45s var(--hd-ease),
        filter 0.45s var(--hd-ease);
    will-change: transform, opacity, filter;
}

.home-orbit__card.is-active {
    opacity: 1;
    z-index: 20;
}

.home-orbit__track.is-dragging .home-orbit__card {
    transition-duration: 0.12s;
}

.home-orbit__card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 产品主体偏右，给左侧文案区让位 */
    object-position: 72% center;
    display: block;
    background: #0a1220;
}

/* 证书等全幅图：主体居中，避免裁切文字 */
.home-orbit__card--cover img {
    object-position: center center;
}

/*
 * 卡内布局：左侧文案栏 + 右侧产品图
 * 避免「字挤左下、图贴右边、中间大片空」
 */
.home-orbit__card-cap {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: min(52%, 340px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    padding: 28px 22px 28px 26px;
    box-sizing: border-box;
    background: linear-gradient(
        90deg,
        rgba(6, 12, 24, 0.94) 0%,
        rgba(6, 12, 24, 0.78) 55%,
        rgba(6, 12, 24, 0.18) 88%,
        transparent 100%
    );
    pointer-events: none;
}

.home-orbit__card-kicker {
    display: block;
    font-size: 12px;
    letter-spacing: 0.16em;
    color: #9ec2ff;
    margin-bottom: 10px;
}

.home-orbit__card-title {
    display: block;
    font-size: clamp(18px, 2.1vw, 26px);
    font-weight: 650;
    line-height: 1.3;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.home-orbit__card-desc {
    margin: 12px 0 0;
    font-size: 13px;
    line-height: 1.6;
    color: rgba(210, 222, 240, 0.9);
    max-width: 18em;
}

.home-orbit__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(8, 14, 28, 0.55);
    color: #e8eef8;
    cursor: pointer;
    backdrop-filter: blur(8px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s var(--hd-ease), border-color 0.2s var(--hd-ease);
}

.home-orbit__nav:hover {
    background: rgba(91, 156, 255, 0.25);
    border-color: rgba(91, 156, 255, 0.45);
}

.home-orbit__nav--prev { left: 8px; }
.home-orbit__nav--next { right: 8px; }

.home-hero__actions {
    position: relative;
    z-index: 6; /* 高于环绕卡，避免被 3D 层盖住 */
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    /* 与上方卡片拉开间距；底部不再预留 SCROLL 指示条 */
    padding: 18px 20px 28px;
    margin-top: 0;
    flex: 0 0 auto;
}

.home-hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 15px;
    transition: transform 0.2s var(--hd-ease), background 0.2s var(--hd-ease), color 0.2s var(--hd-ease);
}

.home-hero__btn--primary {
    background: var(--hd-accent);
    color: #fff;
}

.home-hero__btn--primary:hover {
    background: #3d7de8;
    transform: translateY(-2px);
    color: #fff;
}

.home-hero__btn--ghost {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(8px);
}

.home-hero__btn--ghost:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-2px);
    color: #fff;
}

/* .home-hero__scroll 已从首页移除，避免与 CTA 重叠 */

@media (max-width: 860px) {
    .home-hero__top {
        padding-top: 64px;
    }

    .home-orbit {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 4px 12px 12px;
        overflow: hidden;
    }

    .home-orbit__rail {
        flex-direction: row;
        overflow-x: auto;
        max-height: none;
        width: auto;
        gap: 10px;
        margin-bottom: 0;
        padding: 0;
        align-self: stretch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .home-orbit__rail::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }

    .home-orbit__counter {
        display: none; /* 窄屏横滑时隐藏计数，避免占位 */
    }

    .home-orbit__rail-item {
        flex: 0 0 auto;
        min-width: 120px;
        padding: 6px 0;
        background: transparent;
    }

    .home-orbit__rail-item.is-active {
        transform: none;
    }

    .home-orbit__stage {
        height: clamp(300px, 48vh, 420px);
        min-height: clamp(300px, 48vh, 420px);
        align-self: stretch;
        overflow: hidden;
        perspective-origin: 50% 48%;
    }

    .home-orbit__card {
        max-width: min(520px, 90vw);
        height: min(88%, 320px);
    }

    .home-orbit__card-cap {
        width: min(58%, 220px);
        padding: 18px 14px 18px 16px;
    }

    .home-orbit__card-title {
        font-size: 16px;
    }

    .home-orbit__card-desc {
        font-size: 12px;
        margin-top: 8px;
    }

    .home-orbit__nav {
        display: none;
    }

    .home-hero__actions {
        padding-bottom: 32px;
    }
}

/* ---------- 分区 Canvas 背景层（信任条 / 能力 / 产品 / 场景 / 新闻 / 关于） ---------- */
.home-fx-section {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.home-section-fx {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.85;
}

/* 压在静图 veil 之上、文案之下（新闻 / 关于） */
.home-section-fx--over {
    z-index: 2;
    opacity: 0.7;
}

/* 关于我们：特效层更亮，避免被 veil 压没 */
.home-section-fx--about {
    z-index: 3;
    opacity: 0.95;
}

.home-fx-section > .home-draft-section__inner,
.home-fx-section > .home-trust__inner {
    position: relative;
    z-index: 3;
}

.home-news-draft.home-fx-section .home-draft-section__inner {
    z-index: 3;
}

.home-about-draft.home-fx-section .home-draft-section__inner {
    z-index: 4;
}

/* ---------- Trust strip（深色） ---------- */
.home-trust {
    background: var(--hd-dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 36px 20px 28px;
}

.home-trust__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.home-trust__item {
    text-align: center;
    padding: 18px 12px;
    border-radius: 14px;
    background: var(--hd-card);
    border: 1px solid var(--hd-border);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.home-trust__num {
    display: block;
    font-size: 20px;
    font-weight: 650;
    color: #fff;
    margin-bottom: 6px;
}

.home-trust__label {
    font-size: 13px;
    color: var(--hd-muted);
}

/* ---------- Shared section shell ---------- */
.home-draft-section {
    position: relative;
    padding: 88px 20px;
    overflow: hidden;
    background: var(--hd-dark-2);
    color: var(--hd-ink);
}

.home-draft-section__inner {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
}

.home-draft-kicker {
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #8eb6ff;
    margin-bottom: 10px;
}

.home-draft-title {
    font-size: clamp(24px, 3.4vw, 36px);
    color: #fff;
    margin: 0 0 12px;
    font-weight: 650;
    line-height: 1.3;
}

.home-draft-lead {
    color: var(--hd-muted);
    font-size: 16px;
    line-height: 1.7;
    max-width: 640px;
    margin: 0 0 36px;
}

/* 兼容旧 light 修饰符：全黑后与默认一致 */
.home-draft-title--light,
.home-draft-lead--light,
.home-draft-kicker--light {
    color: inherit;
}

.home-draft-lead--light {
    color: var(--hd-muted);
}

.home-draft-kicker--light {
    color: #8eb6ff;
}

/* ---------- Capabilities ---------- */
.home-capabilities {
    background: var(--hd-dark-2);
}

.home-section-fx--caps {
    z-index: 1;
    opacity: 0.95;
}

.home-caps-aurora {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.home-caps-aurora__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(72px);
    opacity: 0.65;
    will-change: transform;
}

.home-caps-aurora__blob--a {
    width: min(48vw, 460px);
    height: min(48vw, 460px);
    left: 8%;
    top: -10%;
    background: radial-gradient(circle, rgba(70, 130, 255, 0.45), transparent 70%);
    animation: home-caps-aurora-a 18s ease-in-out infinite alternate;
}

.home-caps-aurora__blob--b {
    width: min(42vw, 400px);
    height: min(42vw, 400px);
    right: 4%;
    bottom: -8%;
    background: radial-gradient(circle, rgba(40, 180, 210, 0.35), transparent 70%);
    animation: home-caps-aurora-b 22s ease-in-out infinite alternate;
}

@keyframes home-caps-aurora-a {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(10%, 14%) scale(1.12); }
}

@keyframes home-caps-aurora-b {
    from { transform: translate(0, 0) scale(1.05); }
    to { transform: translate(-12%, -8%) scale(0.92); }
}

@media (prefers-reduced-motion: reduce) {
    .home-caps-aurora__blob {
        animation: none;
    }
}

.home-capabilities.home-fx-section .home-draft-section__inner {
    z-index: 2;
}

.home-cap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.home-cap-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    min-height: 280px;
    isolation: isolate;
    border: 1px solid var(--hd-border);
}

.home-cap-card__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.home-cap-card__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.08);
    transition: transform 8s linear;
}

.home-cap-card:hover .home-cap-card__bg img {
    transform: scale(1.16);
}

.home-cap-card__veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(6, 12, 24, 0.25) 0%, rgba(6, 12, 24, 0.82) 100%);
}

.home-cap-card__body {
    position: relative;
    z-index: 2;
    padding: 28px 22px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.home-cap-card__body h3 {
    margin: 0 0 8px;
    font-size: 20px;
    color: #fff;
}

.home-cap-card__body p {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: rgba(220, 230, 245, 0.8);
}

.home-cap-card__tag {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 0.12em;
    color: #9ec2ff;
    margin-bottom: 10px;
}

/* ---------- Products：竞品式「舞台 + 指标数字」展示 ---------- */
.home-products-draft {
    background: var(--hd-dark);
}

.home-draft-section__inner--wide {
    max-width: 1240px;
}

.home-pshow-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.home-pshow-head .home-draft-lead {
    margin-bottom: 0;
}

.home-pshow-all {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    color: rgba(220, 230, 245, 0.78);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    border-bottom: 1px solid transparent;
    transition: color 0.2s var(--hd-ease), border-color 0.2s var(--hd-ease);
}

.home-pshow-all:hover {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.45);
}

.home-pshow {
    position: relative;
}

/* 横向产品名 Tab —— 比圆点更像消费级硬件站 */
.home-pshow__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 18px;
    padding: 4px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    width: fit-content;
    max-width: 100%;
}

.home-pshow__tab {
    appearance: none;
    border: 0;
    margin: 0;
    padding: 10px 18px;
    border-radius: 8px;
    background: transparent;
    color: rgba(200, 214, 236, 0.62);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition:
        color 0.2s var(--hd-ease),
        background 0.2s var(--hd-ease);
}

.home-pshow__tab:hover {
    color: rgba(232, 238, 248, 0.92);
}

.home-pshow__tab.is-active {
    color: #fff;
    background: rgba(91, 156, 255, 0.2);
    box-shadow: inset 0 0 0 1px rgba(91, 156, 255, 0.35);
}

/* 深色舞台：去掉「盒中盒」，产品直接立在 void 上 */
.home-pshow__stage {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    min-height: 480px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(ellipse 70% 55% at 28% 48%, rgba(70, 120, 210, 0.18), transparent 62%),
        radial-gradient(ellipse 45% 40% at 78% 20%, rgba(40, 70, 130, 0.12), transparent 55%),
        linear-gradient(165deg, #0a1424 0%, #050b16 48%, #070f1c 100%);
    box-shadow:
        0 28px 80px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.home-pshow__slide {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.95fr);
    gap: 0 40px;
    align-items: center;
    min-height: 480px;
    /* 左右多留空，避开圆形箭头，避免大图被裁切 */
    padding: 48px 72px 48px 72px;
    animation: home-pshow-in 0.5s var(--hd-ease);
}

.home-pshow__slide[hidden] {
    display: none !important;
}

@keyframes home-pshow-in {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.home-pshow__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 340px;
}

.home-pshow__glow {
    position: absolute;
    width: min(72%, 340px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(91, 156, 255, 0.28), transparent 68%);
    filter: blur(8px);
    pointer-events: none;
}

.home-pshow__visual img {
    position: relative;
    z-index: 1;
    max-width: min(100%, 440px);
    max-height: 360px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 28px 56px rgba(0, 0, 0, 0.55));
    transition: transform 0.6s var(--hd-ease);
}

.home-pshow__slide:hover .home-pshow__visual img {
    transform: translateY(-8px) scale(1.03);
}

.home-pshow__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 420px;
}

.home-pshow__tag {
    margin: 0 0 10px;
    font-size: 11px;
    letter-spacing: 0.2em;
    color: #9ec2ff;
}

.home-pshow__name {
    margin: 0 0 8px;
    font-size: clamp(28px, 3.2vw, 40px);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.home-pshow__sub {
    margin: 0 0 22px;
    font-size: 15px;
    line-height: 1.5;
    color: rgba(200, 214, 236, 0.72);
}

/* 大指标：对标大疆产品页的数字 callout */
.home-pshow__metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 20px;
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.home-pshow__metric {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.home-pshow__metric strong {
    font-size: clamp(16px, 1.8vw, 22px);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.home-pshow__metric span {
    font-size: 12px;
    color: rgba(180, 198, 220, 0.62);
    letter-spacing: 0.02em;
}

/* 指标补充说明（如算力卡峰值），挂在主数字下方，不占新列 */
.home-pshow__metric-note {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    line-height: 1.4;
    color: rgba(200, 214, 236, 0.78);
    letter-spacing: 0.01em;
}

.home-pshow__desc {
    margin: 0 0 24px;
    font-size: 14px;
    line-height: 1.75;
    color: rgba(210, 222, 240, 0.82);
}

.home-pshow__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 22px;
}

.home-pshow__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 999px;
    background: #fff;
    color: #0a1220;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition:
        background 0.2s var(--hd-ease),
        transform 0.2s var(--hd-ease),
        color 0.2s var(--hd-ease);
}

.home-pshow__btn:hover {
    background: #e8eef8;
    color: #050b16;
    transform: translateY(-1px);
}

.home-pshow__link {
    color: rgba(220, 230, 245, 0.78);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    padding-bottom: 2px;
    transition: color 0.2s var(--hd-ease), border-color 0.2s var(--hd-ease);
}

.home-pshow__link:hover {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.7);
}

.home-pshow__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(8, 14, 28, 0.55);
    color: #e8eef8;
    cursor: pointer;
    backdrop-filter: blur(10px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s var(--hd-ease), border-color 0.2s var(--hd-ease);
}

.home-pshow__nav:hover {
    background: rgba(91, 156, 255, 0.28);
    border-color: rgba(91, 156, 255, 0.5);
}

.home-pshow__nav--prev { left: 14px; }
.home-pshow__nav--next { right: 14px; }

/* ---------- Scenarios ---------- */
.home-scenarios {
    background: var(--hd-dark-2);
}

.home-scenario-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.home-scenario-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    min-height: 260px;
    text-decoration: none;
    color: #fff;
    isolation: isolate;
    border: 1px solid var(--hd-border);
}

.home-scenario-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--hd-ease);
}

.home-scenario-card:hover img {
    transform: scale(1.06);
}

.home-scenario-card__veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 14, 28, 0.15), rgba(8, 14, 28, 0.82));
    z-index: 1;
}

.home-scenario-card__body {
    position: relative;
    z-index: 2;
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.home-scenario-card__body h3 {
    margin: 0 0 8px;
    font-size: 20px;
    color: #fff; /* 深色底图上标题改为白色，保证可读 */
}

.home-scenario-card__body p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(230, 236, 248, 0.88);
}

/* ---------- Tech ---------- */
.home-tech {
    position: relative;
    background: var(--hd-dark);
    color: #fff;
    min-height: 420px;
}

#home-tech-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.85;
}

.home-tech__inner {
    position: relative;
    z-index: 1;
}

.home-tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 8px;
}

.home-tech-item {
    background: var(--hd-card);
    border: 1px solid var(--hd-border);
    border-radius: 14px;
    padding: 22px 18px;
    backdrop-filter: blur(6px);
}

.home-tech-item h3 {
    margin: 0 0 8px;
    font-size: 17px;
    color: #fff;
}

.home-tech-item p {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: var(--hd-muted);
}

/* ---------- News / About ---------- */
.home-news-draft,
.home-about-draft {
    position: relative;
    background: var(--hd-dark-2);
}

.home-news-draft__bg,
.home-about-draft__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.35;
}

.home-news-draft__bg img,
.home-about-draft__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-news-draft__veil,
.home-about-draft__veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(5, 11, 22, 0.88), rgba(10, 18, 32, 0.94));
}

/* 关于区：略透一点，让极光 / Canvas 更明显 */
.home-about-draft__veil {
    background: linear-gradient(180deg, rgba(5, 11, 22, 0.72), rgba(8, 14, 28, 0.82));
}

.home-about-draft__bg {
    opacity: 0.28;
}

.home-about-aurora {
    position: absolute;
    inset: 0;
    /* 压在 veil 之上，才能看见雾团漂移 */
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.home-about-aurora__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.7;
    will-change: transform;
}

.home-about-aurora__blob--a {
    width: min(50vw, 480px);
    height: min(50vw, 480px);
    left: -6%;
    top: 10%;
    background: radial-gradient(circle, rgba(70, 130, 255, 0.55), transparent 70%);
    animation: home-about-aurora-a 16s ease-in-out infinite alternate;
}

.home-about-aurora__blob--b {
    width: min(46vw, 420px);
    height: min(46vw, 420px);
    right: -4%;
    bottom: 8%;
    background: radial-gradient(circle, rgba(40, 190, 210, 0.42), transparent 70%);
    animation: home-about-aurora-b 20s ease-in-out infinite alternate;
}

@keyframes home-about-aurora-a {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(12%, 10%) scale(1.15); }
}

@keyframes home-about-aurora-b {
    from { transform: translate(0, 0) scale(1.05); }
    to { transform: translate(-10%, -8%) scale(0.9); }
}

@media (prefers-reduced-motion: reduce) {
    .home-about-aurora__blob {
        animation: none;
    }
}

.home-news-list {
    display: grid;
    gap: 12px;
}

.home-news-item {
    display: flex;
    gap: 16px;
    align-items: baseline;
    padding: 16px 18px;
    background: var(--hd-card);
    border: 1px solid var(--hd-border);
    border-radius: 12px;
    text-decoration: none;
    transition: border-color 0.2s var(--hd-ease), transform 0.2s var(--hd-ease), background 0.2s var(--hd-ease);
}

.home-news-item:hover {
    border-color: rgba(91, 156, 255, 0.4);
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(4px);
}

.home-news-item__date {
    flex: 0 0 auto;
    font-size: 13px;
    color: var(--hd-muted);
    font-variant-numeric: tabular-nums;
}

.home-news-item__title {
    font-size: 15px;
    color: #e8eef8;
    line-height: 1.5;
}

.home-about-card {
    background: var(--hd-card);
    border: 1px solid var(--hd-border);
    border-radius: 16px;
    padding: 28px 24px;
}

.home-about-card h3 {
    margin: 0 0 12px;
    font-size: 20px;
    color: #fff;
}

.home-about-card p {
    margin: 0 0 12px;
    color: var(--hd-muted);
    line-height: 1.75;
    font-size: 15px;
}

.home-about-card a {
    color: var(--hd-accent);
    text-decoration: none;
    font-weight: 500;
}

.home-about-card a:hover {
    text-decoration: underline;
}

.home-news-more {
    margin-top: 20px;
}

.home-news-more a {
    color: var(--hd-accent);
    text-decoration: none;
}

/* home-cta / home-legacy 已从首页移除，联系改由 footer--rail 承接 */

@media (prefers-reduced-motion: reduce) {
    .home-reveal,
    .home-reveal__stagger > *,
    .home-cap-card__bg img,
    .home-pshow__slide {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }
}

@media (max-width: 960px) {
    .home-trust__inner,
    .home-cap-grid,
    .home-scenario-grid,
    .home-tech-grid {
        grid-template-columns: 1fr 1fr;
    }

    .home-pshow-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-pshow__stage {
        min-height: 0;
    }

    .home-pshow__slide {
        grid-template-columns: 1fr;
        gap: 8px;
        min-height: 0;
        padding: 36px 28px 40px;
    }

    .home-pshow__visual {
        min-height: 220px;
        order: -1;
    }

    .home-pshow__visual img {
        max-height: 240px;
        max-width: min(100%, 320px);
    }

    .home-pshow__copy {
        max-width: none;
    }

    .home-pshow__nav--prev { left: 8px; }
    .home-pshow__nav--next { right: 8px; }
}

@media (max-width: 640px) {
    .home-draft-section {
        padding: 64px 16px;
    }

    .home-trust__inner,
    .home-cap-grid,
    .home-scenario-grid,
    .home-tech-grid {
        grid-template-columns: 1fr;
    }

    .home-hero__content {
        padding: 100px 16px 72px;
    }

    .home-news-item {
        flex-direction: column;
        gap: 6px;
    }

    .home-pshow__tabs {
        width: 100%;
    }

    .home-pshow__tab {
        flex: 1 1 auto;
        padding: 9px 12px;
        font-size: 12px;
        text-align: center;
    }

    .home-pshow__slide {
        padding: 28px 18px 36px;
    }

    .home-pshow__metrics {
        gap: 8px;
    }

    .home-pshow__metric strong {
        font-size: 15px;
    }

    .home-pshow__name {
        font-size: 26px;
    }

    .home-pshow__nav {
        width: 38px;
        height: 38px;
    }
}

