/**
 * Skyfall-inspired home layer — BAILU homepage
 * Studio paper canvas, editorial kickers, restrained cards.
 * Keeps brand #0056d2; does not replace liquid-glass chrome.
 */

/* ========== Step 1: Tokens + canvas ========== */
:root {
    --sf-studio: #ffffff;
    --sf-paper: #ffffff;
    --sf-ink: #1a1a1a;
    --sf-body: #474747;
    --sf-muted: #7a7a7a;
    --sf-faint: #adadad;
    --sf-line: #e0e0e0;
    --sf-tint: #eef4fc;
    --sf-brand: #0056d2;
    --sf-brand-soft: rgba(0, 86, 210, 0.08);
    --sf-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    --sf-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --sf-radius: 12px;
    --sf-radius-lg: 16px;
    /* 仅模块标题之间的纵向间距 */
    --sf-title-gap: clamp(56px, 7vw, 96px);
}

body {
    background-color: var(--sf-studio);
    color: var(--sf-ink);
}

body > .container,
.hero > .container,
.products-section > .container,
.trust-banner > .container,
.model-series-section > .container,
.closed-loop-section > .container,
.wide-coverage-section > .container,
.blog-section > .container,
.agent-studio > .container,
.low-altitude-banner > .container,
.npu-banner > .container {
    max-width: 1120px;
}

/* Paper surface utility */
.sf-paper {
    background: var(--sf-paper);
    border: 1px solid var(--sf-line);
    border-radius: var(--sf-radius-lg);
    box-shadow: none;
}

/* Section kicker: [ Label ] */
.sf-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.35em;
    margin: 0 0 14px;
    padding: 0;
    font-family: var(--sf-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sf-muted);
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    text-decoration: none;
    line-height: 1.4;
}

.sf-kicker::before {
    content: "[";
    color: var(--sf-faint);
    font-weight: 400;
}

.sf-kicker::after {
    content: "]";
    color: var(--sf-faint);
    font-weight: 400;
}

a.sf-kicker:hover {
    color: var(--sf-brand);
}

/* Section title rhythm — 只拉开各模块标题之间的空隙 */
.section-title {
    text-align: center;
    margin-top: var(--sf-title-gap);
    margin-bottom: clamp(24px, 3vw, 40px);
    max-width: none;
    margin-left: auto;
    margin-right: auto;
}

/* 「原生应用生态」：RSI 下方上空隙略加大 */
.products-section > .container > .section-title:first-child,
.products-section .rsi-card + .section-title {
    margin-top: clamp(48px, 5vw, 64px);
}

.section-title .sf-kicker {
    display: inline-flex;
    margin-bottom: 10px;
    justify-content: center;
}

.section-title h2 {
    font-size: clamp(1.7rem, 2.8vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.22;
    color: var(--sf-ink);
    margin-bottom: 10px;
}

.section-title p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--sf-body);
    margin: 0 auto;
    max-width: 36rem;
}

.products-section,
.model-series-section,
.closed-loop-section,
.blog-section {
    background: var(--sf-studio);
}

/* ========== Step 2: Hero — 恢复居中，保留 Skyfall 字阶与 kicker ========== */
.hero {
    margin-top: 0 !important;
    padding-top: calc(var(--header-height, 50px) + 36px);
    padding-bottom: 8px;
    background: var(--sf-studio);
    min-height: auto;
    /* 可见文档流；光晕裁切交给 .hero-bg，避免 overflow-x:hidden → overflow-y:auto 内联滚动条 */
    overflow: visible;
}

.hero-bg {
    opacity: 0.7;
}

.hero-content {
    text-align: center;
    max-width: min(800px, 100%);
    margin: 0 auto;
}

.hero .hero-badge {
    margin-bottom: 16px;
}

.hero-title {
    font-size: clamp(2.75rem, 6.5vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.12;
    color: #0a2540;
    margin-bottom: 18px;
    text-align: center;
    transform: none;
}

.hero-title-large {
    display: inline-block;
    font-size: 1.3em;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.hero-title-medium {
    display: inline-block;
    font-size: 0.85em;
    font-weight: 700;
    background: linear-gradient(to right, #0056d2 0%, #00c6fb 50%, #0056d2 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    animation: shine 6s linear infinite;
}

.hero-desc {
    font-size: 1.1rem;
    line-height: 1.65;
    color: var(--sf-body);
    max-width: 600px;
    margin: 0 auto 24px;
    text-align: center;
}

.hero-actions {
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.hero-actions .btn {
    padding: 11px 20px;
    font-size: 0.94rem;
    font-weight: 600;
}

.hero-actions .btn-primary {
    border-radius: 10px;
    background: var(--sf-brand);
    border-color: var(--sf-brand);
    color: #fff;
}

.hero-actions .btn-primary:hover {
    background: #0044a8;
    border-color: #0044a8;
}

.home-model-rail {
    background: var(--sf-studio);
}

.home-model-rail .bailu-model-carousel .mc-card {
    background: var(--sf-paper);
    border: 1px solid var(--sf-line);
}

/* ========== Step 3: RSI + products ========== */
.products-section {
    padding: 8px 0 56px !important;
    background: var(--sf-studio);
}

.rsi-card {
    margin-bottom: 28px;
    border-radius: var(--sf-radius-lg);
    background: var(--sf-paper) !important;
    border: 1px solid var(--sf-line) !important;
    color: var(--sf-ink);
    overflow: hidden;
}

.rsi-card::before,
.rsi-card::after {
    display: none;
}

.rsi-inner {
    position: relative;
    z-index: 2;
    padding: 26px 24px;
    gap: 22px;
}

.rsi-card {
    overflow: hidden;
}

.low-altitude-inner,
.npu-inner,
.product-card-content,
.product-card-image {
    position: relative;
    z-index: 2;
}

.rsi-kicker.sf-kicker {
    font-family: var(--sf-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--sf-muted);
    background: none;
    gap: 0.35em;
}

.rsi-kicker.sf-kicker::before {
    content: "[";
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    box-shadow: none;
    color: var(--sf-faint);
    font-weight: 400;
}

.rsi-kicker.sf-kicker::after {
    content: "]";
    color: var(--sf-faint);
    font-weight: 400;
}

.rsi-title {
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    letter-spacing: -0.03em;
    color: var(--sf-ink);
}

.rsi-desc,
.rsi-note {
    color: var(--sf-body);
}

.rsi-lineage {
    background: var(--sf-studio) !important;
    border: 1px solid var(--sf-line) !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}

.rsi-lineage-chip {
    background: var(--sf-paper) !important;
    border: 1px solid var(--sf-line) !important;
    box-shadow: none !important;
    color: var(--sf-ink);
}

.products-grid {
    gap: 16px;
}

.product-card {
    background: var(--sf-paper);
    border: 1px solid var(--sf-line);
    border-radius: var(--sf-radius-lg);
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.25s var(--sf-ease), transform 0.25s var(--sf-ease);
}

.product-card:hover {
    border-color: rgba(0, 86, 210, 0.22);
    box-shadow: 0 8px 24px rgba(0, 86, 210, 0.07);
    transform: none;
}

.product-card-content {
    padding: 22px 22px 20px;
}

.product-card h3 {
    font-size: 1.15rem;
    letter-spacing: -0.02em;
    color: var(--sf-ink);
}

.product-card p {
    color: var(--sf-body);
    font-size: 0.95rem;
}

.product-link {
    color: var(--sf-brand);
    font-weight: 600;
    font-size: 0.88rem;
}

.logo-roll-wrapper {
    margin-top: 36px;
    padding-top: 28px;
    border-top: none;
}

.logo-roll-heading {
    font-family: var(--sf-mono);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    color: var(--sf-muted);
}

/* ========== Step 4: Trust — 恢复并增强蓝色玻璃横幅 ========== */
.trust-banner {
    background:
        radial-gradient(circle at 14% 18%, rgba(125, 211, 252, 0.38) 0, transparent 34%),
        radial-gradient(circle at 88% 72%, rgba(255, 255, 255, 0.12) 0, transparent 36%),
        linear-gradient(135deg, #1a73e8 0%, #0056d2 42%, #0040b0 72%, #0a2f86 100%) !important;
    border-radius: 0;
    margin: 0;
    padding: 52px 0 !important;
    color: #fff;
}

.trust-banner .trust-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    margin-bottom: 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #fff;
    background: rgba(255, 255, 255, 0.16) !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
    -webkit-backdrop-filter: saturate(1.4) blur(12px) !important;
    backdrop-filter: saturate(1.4) blur(12px) !important;
    overflow: hidden;
}

.trust-banner h2 {
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    letter-spacing: -0.03em;
    font-weight: 700;
    color: #fff;
}

.trust-banner p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 40rem;
    opacity: 1;
}

.trust-banner-btn {
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.95);
    color: #0056d2;
    border: 1px solid rgba(255, 255, 255, 0.8);
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(10, 37, 100, 0.18);
}

.trust-banner-btn:hover {
    background: #fff;
    color: #0044a8;
}

.low-altitude-banner,
.npu-banner {
    background: var(--sf-studio);
    padding: 16px 0;
}

.low-altitude-card,
.npu-card {
    background: var(--sf-paper);
    border: 1px solid var(--sf-line);
    border-radius: var(--sf-radius-lg);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.05);
    transform: none !important;
}

.low-altitude-card:hover,
.npu-card:hover {
    transform: none !important;
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.07);
}

.low-altitude-kicker.sf-kicker,
.npu-kicker.sf-kicker,
.agent-studio-kicker.sf-kicker {
    font-family: var(--sf-mono);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sf-muted);
    gap: 0.35em;
}

/* 覆盖 three-cards / style 里旧的蓝点 / 竖线，恢复成 [ LABEL ] */
.low-altitude-kicker.sf-kicker::before,
.npu-kicker.sf-kicker::before,
.agent-studio-kicker.sf-kicker::before {
    content: "[";
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    box-shadow: none;
    color: var(--sf-faint);
    font-weight: 400;
}

.low-altitude-kicker.sf-kicker::after,
.npu-kicker.sf-kicker::after,
.agent-studio-kicker.sf-kicker::after {
    content: "]";
    color: var(--sf-faint);
    font-weight: 400;
}

.low-altitude-title,
.npu-title {
    letter-spacing: -0.03em;
    color: var(--sf-ink);
}

.low-altitude-subtitle,
.npu-desc {
    color: var(--sf-body);
}

.model-series-section {
    /* 上间距交给 .section-title 的 margin-top，避免与标题空隙叠床架屋 */
    padding: 0 0 48px !important;
}

/* 演进 / 能力矩阵：外层无框；矩阵仅保留一层扁平格线 */
.model-evolution-panel,
.model-capabilities-panel {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
}

/* 产品 Tabs：保留 iOS 液态玻璃，上方略增空隙 */
.product-tabs-card,
.product-tabs-card.lg-surface {
    margin-top: 56px;
    border-radius: 14px;
}

.model-matrix-panel {
    background: transparent;
    border: none;
}

.matrix-card {
    border-color: rgba(15, 23, 42, 0.06);
}

.matrix-icon {
    border-color: rgba(15, 23, 42, 0.05);
}

.v-timeline-content {
    background: transparent;
    border: none;
    box-shadow: none;
}

.model-series-layout {
    gap: 44px;
}

.model-evolution-panel {
    padding-top: 2px;
}

.v-timeline-item:last-child .v-timeline-content h4 {
    color: var(--sf-ink);
}

.closed-loop-section {
    padding: 0 0 48px !important;
}

.unreal-card,
.partner-banner {
    border: 1px solid var(--sf-line);
    border-radius: var(--sf-radius-lg);
    box-shadow: none;
}

/* 多元落地实践：恢复原背景图 + 半透明遮罩，勿用 studio 纯色覆盖 */
.wide-coverage-section {
    padding: 0 0 64px !important;
    background-image: url('https://assets.nflxext.com/ffe/siteui/vlv3/6fd9d446-cd78-453a-8c9c-417ed3e00422/web/HK-zh-20251117-TRIFECTA-perspective_be3446ad-335b-4731-9b14-cbfef7356820_large.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed;
    background-color: transparent !important;
}

.wide-coverage-section .coverage-bg-overlay {
    background: rgba(246, 246, 246, 0.82);
}

.coverage-title {
    text-align: center;
    color: var(--sf-ink);
}

.coverage-poster-card {
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
    background: #fff;
}

.coverage-poster-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.16);
}

.coverage-description h3 {
    /* 保留文字镂空背景图效果 */
    background-image: url('https://assets.nflxext.com/ffe/siteui/vlv3/6fd9d446-cd78-453a-8c9c-417ed3e00422/web/HK-zh-20251117-TRIFECTA-perspective_be3446ad-335b-4731-9b14-cbfef7356820_large.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.agent-studio {
    background: var(--sf-paper);
    border-top: 1px solid var(--sf-line);
    border-bottom: 1px solid var(--sf-line);
}

.blog-section {
    padding: 0 0 48px !important;
}

.news-feature-card,
.news-item {
    border: 1px solid var(--sf-line);
    border-radius: var(--sf-radius-lg);
    box-shadow: none;
    background: var(--sf-paper);
}

.news-tag,
.news-date {
    font-family: var(--sf-mono);
    font-size: 0.7rem;
    letter-spacing: 0.06em;
}

/* 右侧动态列表：固定行盒，三张卡的日期 / 标题 / 摘要逐行对齐 */
.news-list {
    gap: 14px;
}

.news-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 32px;
    column-gap: 20px;
    align-items: start;
    padding: 20px 22px;
    transform: none;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.news-item:hover {
    transform: none;
    box-shadow: none;
    border-color: rgba(0, 86, 210, 0.35);
    background: #fbfcfe;
}

.news-item-content {
    padding-right: 0;
    min-width: 0;
}

.news-item .news-date {
    display: block;
    height: 16px;
    line-height: 16px;
    margin: 0 0 10px;
    color: var(--sf-muted);
}

.news-item h4 {
    margin: 0 0 8px;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: -0.01em;
    color: var(--sf-ink);
    min-height: calc(1.45em * 2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-item p {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.6;
    color: var(--sf-body);
    min-height: calc(1.6em * 2);
}

/* 图标与标题首行对齐（日期行 16px + 间距 10px） */
.news-item-icon {
    width: 32px;
    height: 32px;
    margin-top: 26px;
    border-radius: 9px;
    background: var(--sf-brand-soft);
    color: var(--sf-brand);
    font-size: 0.8rem;
}

.news-footer-link {
    padding-top: 4px;
}

.view-all-news {
    font-size: 0.88rem;
    color: var(--sf-body);
}

/* ========== Step 5: Motion + mobile ========== */

.product-card.sf-reveal:nth-child(1) { transition-delay: 0ms; }
.product-card.sf-reveal:nth-child(2) { transition-delay: 70ms; }
.product-card.sf-reveal:nth-child(3) { transition-delay: 140ms; }

@media (prefers-reduced-motion: no-preference) {
    .sf-reveal {
        opacity: 0;
        transform: translate3d(0, 16px, 0);
        transition: opacity 0.55s var(--sf-ease), transform 0.55s var(--sf-ease);
    }

    .sf-reveal.is-in {
        opacity: 1;
        transform: none;
    }

    .hero-content > * {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .hero .hero-badge {
        opacity: 0;
        animation: sfFadeUp 0.6s var(--sf-ease) 0.08s forwards;
    }

    .hero-title {
        opacity: 0;
        animation: sfFadeUp 0.7s var(--sf-ease) 0.18s forwards;
    }

    .hero-desc {
        opacity: 0;
        animation: sfFadeUp 0.65s var(--sf-ease) 0.28s forwards;
    }

    .hero-actions {
        opacity: 0;
        animation: sfFadeUp 0.65s var(--sf-ease) 0.36s forwards;
    }
}

@keyframes sfFadeUp {
    from {
        opacity: 0;
        transform: translate3d(0, 14px, 0);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sf-reveal,
    .hero .hero-badge,
    .hero-title,
    .hero-desc,
    .hero-actions {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
        transition: none !important;
    }
}

@media (max-width: 768px) {
    :root {
        --sf-title-gap: clamp(40px, 8vw, 72px);
    }

    .hero {
        padding-top: calc(var(--header-height, 50px) + 24px);
        padding-bottom: 12px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-title {
        font-size: clamp(2.2rem, 9vw, 2.85rem);
    }

    .hero-title-large {
        font-size: 1.2em;
    }

    .hero-actions {
        width: 100%;
        justify-content: center;
    }

    .hero-actions .btn {
        flex: 1 1 auto;
        justify-content: center;
        min-width: 0;
    }

    .section-title {
        text-align: center;
        margin-bottom: 22px;
    }

    .rsi-inner {
        padding: 20px 16px;
    }

    .products-section {
        padding-bottom: 48px;
    }

    .product-card:hover {
        transform: none;
    }

    .wide-coverage-section {
        background-attachment: scroll;
    }

    .coverage-description h3 {
        background-attachment: scroll;
    }

    .trust-banner-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .trust-banner p {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 480px) {
    .hero-actions .btn {
        width: 100%;
    }

    .sf-kicker {
        font-size: 0.68rem;
        letter-spacing: 0.06em;
    }
}

/* =========================================================
   bailu-home 移动端示范移植：粒子首屏 / 产品横滑 / Partner 背景
   ========================================================= */

/* ---------- 浅色粒子首屏（左鹿标 / 右文案） ---------- */
.hero.hero--particles {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: min(78vh, 760px);
    min-height: min(78svh, 760px);
    margin-top: 0 !important;
    padding-top: calc(var(--header-height, 50px) + 24px);
    padding-bottom: 0;
    /* 只裁横向，避免 3D 画布撑开整页；纵向上不挡三瓣 */
    overflow-x: clip;
    overflow-y: visible;
    color: #0a2540;
    background:
        radial-gradient(ellipse 70% 55% at 68% 42%, rgba(0, 86, 210, 0.07) 0%, transparent 72%),
        linear-gradient(180deg, #f8fafc 0%, #f6f7f9 62%, #ffffff 100%);
}

.hero.hero--particles::after {
    display: none;
}

.hero.hero--particles .hero-bg {
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    z-index: 0;
    background: transparent;
    overflow: hidden;
    contain: paint;
}

.hero.hero--particles .hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 86, 210, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 86, 210, 0.045) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(80% 70% at 68% 42%, #000 0%, transparent 78%);
    mask-image: radial-gradient(80% 70% at 68% 42%, #000 0%, transparent 78%);
    pointer-events: none;
}

.hero.hero--particles .hero-orb-1 {
    width: min(520px, 70vw);
    height: min(520px, 70vw);
    top: -8%;
    right: 4%;
    left: auto;
    opacity: 0.85;
    background: radial-gradient(circle at 50% 50%,
        rgba(79, 172, 254, 0.28) 0%,
        rgba(79, 172, 254, 0.12) 32%,
        rgba(0, 198, 251, 0.05) 55%,
        transparent 72%);
    filter: none;
}

.hero.hero--particles .hero-orb-2 {
    width: min(420px, 60vw);
    height: min(420px, 60vw);
    bottom: 4%;
    left: -6%;
    right: auto;
    opacity: 0.7;
    background: radial-gradient(circle at 50% 50%,
        rgba(0, 242, 254, 0.16) 0%,
        rgba(79, 172, 254, 0.08) 36%,
        rgba(0, 86, 210, 0.03) 58%,
        transparent 74%);
    filter: none;
}

.hero-canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    touch-action: pan-y;
    cursor: pointer;
}

.hero-layer {
    position: relative;
    z-index: 2;
    display: grid;
    /* 左文案 · 右粒子鹿标 */
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: clamp(16px, 3vw, 48px);
    flex: 1 1 auto;
    width: 100%;
    pointer-events: none;
    min-height: 0;
}

.hero-layer .hero-badge,
.hero-layer .hero-actions,
.hero-layer .btn,
.hero-layer .hero-stage,
.hero-layer .home-glass-mark,
.hero-layer .mark {
    pointer-events: auto;
}

.hero-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(280px, 44vh, 520px);
    width: 100%;
    min-width: 0;
    overflow: visible !important;
    clip-path: none !important;
}

.hero.hero--glass .hero-canvas {
    display: none !important;
}

.hero.hero--glass .home-glass-mark.mark-wrap {
    width: min(100%, 590px);
    overflow: visible !important;
    clip-path: none !important;
}

@media (max-width: 980px) {
    .hero.hero--glass .home-glass-mark.mark-wrap {
        width: min(84vw, 440px);
    }
}

.hero-coords {
    display: none !important;
}

.hero.hero--particles .hero-content {
    text-align: left;
    max-width: min(560px, 100%);
    margin: 0;
    padding: 12px 0 8px;
    justify-self: start;
}

/* 发布条：编辑风 kicker，非胶囊 */
.hero.hero--particles .hero-badge,
.hero.hero--particles .hero-badge--kicker {
    --lg-mx: 50%;
    --lg-my: 50%;
    display: inline-flex !important;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.55em;
    height: auto;
    max-width: 100%;
    padding: 0 !important;
    margin: 0 0 18px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    color: #0056d2 !important;
    -webkit-text-fill-color: #0056d2 !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    font-family: var(--sf-mono, "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace) !important;
    font-size: 0.72rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.08em !important;
    line-height: 1.45;
    text-decoration: none;
    text-transform: none;
    opacity: 1;
    transform: none;
    animation: none;
    filter: none !important;
    transition: color 0.2s var(--sf-ease), opacity 0.2s var(--sf-ease);
}

.hero.hero--particles .hero-badge::before,
.hero.hero--particles .hero-badge::after,
.hero.hero--particles .hero-badge--kicker::before,
.hero.hero--particles .hero-badge--kicker::after {
    content: none !important;
    display: none !important;
}

.hero.hero--particles .hero-badge__mark {
    position: relative;
    padding-right: 0.7em;
    color: #7a7a7a;
    -webkit-text-fill-color: #7a7a7a;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero.hero--particles .hero-badge__mark::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0.35em;
    bottom: 0.25em;
    width: 1px;
    background: #d0d5dd;
}

.hero.hero--particles .hero-badge__text {
    color: #0056d2;
    -webkit-text-fill-color: #0056d2;
    background: linear-gradient(
        110deg,
        #003d99 0%,
        #0056d2 28%,
        #2f7dff 52%,
        #0056d2 78%,
        #003d99 100%
    );
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: heroBadgeShine 7s linear infinite;
}

.hero.hero--particles .hero-badge__arrow {
    color: #7a7a7a;
    -webkit-text-fill-color: #7a7a7a;
    font-size: 0.95em;
    transition: transform 0.25s var(--sf-ease), color 0.2s ease;
}

.hero.hero--particles .hero-badge:hover .hero-badge__arrow {
    color: #0056d2;
    -webkit-text-fill-color: #0056d2;
    transform: translate(2px, -1px);
}

.hero.hero--particles .hero-badge:hover .hero-badge__mark {
    color: #474747;
    -webkit-text-fill-color: #474747;
}

@keyframes heroBadgeShine {
    to { background-position: 220% center; }
}

.hero-badge-dot {
    display: none !important;
}

.hero.hero--particles .hero-title {
    color: #0a2540;
    text-align: left;
    margin-bottom: 16px;
    opacity: 1;
    transform: none;
    animation: none;
}

.hero.hero--particles .hero-title-medium {
    background: linear-gradient(90deg, #0056d2 0%, #00c6fb 50%, #0056d2 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: shine 6s linear infinite;
}

.hero.hero--particles .hero-desc {
    color: #474b55;
    text-align: left;
    margin: 0 0 24px;
    max-width: 520px;
    opacity: 1;
    transform: none;
    animation: none;
}

.hero.hero--particles .hero-actions {
    justify-content: flex-start;
}

.hero.hero--particles .hero-actions .btn-primary {
    background: #0056d2;
    border-color: #0056d2;
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 86, 210, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.hero.hero--particles .hero-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(0, 86, 210, 0.18);
    color: #0056d2;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero.hero--particles .hero-actions .btn-secondary:hover {
    background: #fff;
    color: #0044a8;
    border-color: rgba(0, 86, 210, 0.28);
}

.hero.hero--particles .home-model-rail,
.home-model-rail {
    position: relative;
    z-index: 2;
    margin-top: auto;
    padding: 18px 0 28px;
    background: transparent;
    pointer-events: auto;
}

.hero.hero--particles .home-model-rail .bailu-model-carousel .mc-card {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(0, 86, 210, 0.1);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.hero.hero--particles + .products-section,
.products-section {
    margin-top: 0;
}

/* ---------- 原生应用生态：移动端左右拖动 ---------- */
.products-rail {
    position: relative;
}

.product-kind {
    display: block;
    margin-bottom: 4px;
    font-family: var(--sf-mono, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sf-muted, #7a7f8a);
}

.product-card-num {
    position: absolute;
    top: 12px;
    left: 14px;
    z-index: 2;
    padding: 3px 7px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.88);
    font-family: var(--sf-mono, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace);
    font-size: 10px;
    font-weight: 600;
    color: #0a2540;
}

.products-pager {
    display: none;
    align-items: center;
    margin-top: 10px;
    padding: 0 2px;
}

.products-pager__count {
    font-family: var(--sf-mono, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace);
    font-size: 10px;
    letter-spacing: 0.1em;
    color: var(--sf-muted, #7a7f8a);
}

.products-pager__bar {
    flex: 1;
    height: 1px;
    margin-left: 12px;
    background: var(--sf-line, #e4e7ec);
    overflow: hidden;
}

.products-pager__fill {
    width: 33.333%;
    height: 100%;
    background: #0a2540;
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

@media (max-width: 900px) {
    /* 禁止 100vw 破版：会在移动端把整页 scrollWidth 撑开，顶栏汉堡被甩出屏外 */
    .products-section {
        overflow-x: clip;
    }

    .products-section > .container {
        padding-left: 0;
        padding-right: 0;
        overflow-x: clip;
        max-width: 100%;
    }

    .products-rail {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        max-width: 100%;
        overflow-x: clip;
    }

    .products-rail .products-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-left: 24px;
        gap: 0;
        padding: 4px 48px 16px 24px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        overscroll-behavior-x: contain;
    }

    .products-rail .products-grid::-webkit-scrollbar {
        display: none;
    }

    .products-rail .product-card {
        flex: 0 0 calc(100% - 36px);
        max-width: calc(100% - 36px);
        margin-right: 12px;
        scroll-snap-align: start;
        transform: scale(0.96);
        opacity: 0.72;
        transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
            opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
            border-color 0.55s ease,
            box-shadow 0.55s ease;
    }

    .products-rail .product-card.is-current {
        transform: none;
        opacity: 1;
        border-color: rgba(0, 86, 210, 0.22);
        box-shadow: 0 12px 32px rgba(0, 86, 210, 0.1);
    }

    .products-rail .product-card:hover {
        transform: scale(0.96);
    }

    .products-rail .product-card.is-current:hover {
        transform: none;
    }

    .products-pager {
        display: flex;
        padding: 0 24px;
    }
}

@media (min-width: 901px) {
    .products-rail .product-card {
        opacity: 1;
        transform: none;
    }

    .product-card-num {
        display: none;
    }
}

/* ---------- Windsurf / Factory 伙伴背景 ---------- */
.partner-banner--windsurf {
    border-color: transparent !important;
    background: linear-gradient(150deg, #0b1a2e 0%, #0a2a3a 60%, #0b3b45 100%) !important;
    color: #fff;
}

.partner-banner--windsurf .partner-badge {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.86);
}

.partner-banner--windsurf p {
    color: rgba(214, 236, 240, 0.78);
}

.partner-banner--windsurf .partner-btn {
    background: rgba(255, 255, 255, 0.96);
    color: #0b1a2e;
}

.partner-banner--windsurf .partner-btn:hover {
    background: #fff;
}

.partner-banner--windsurf .decoration-circle {
    border: 1px solid rgba(94, 242, 208, 0.22);
    background: transparent;
    box-shadow:
        0 0 0 20px rgba(94, 242, 208, 0.05),
        0 0 0 40px rgba(94, 242, 208, 0.03);
}

.partner-banner--factory {
    background: linear-gradient(160deg, #fbfaf7 0%, #f3f1ea 100%) !important;
    border-color: rgba(10, 37, 64, 0.1) !important;
    color: #0a2540;
}

.partner-banner--factory .partner-badge-light {
    background: rgba(10, 37, 64, 0.06);
    color: #0a2540;
}

.partner-banner--factory p {
    color: #474b55;
}

.partner-factory-word {
    font-family: var(--sf-mono, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace);
    letter-spacing: -0.02em;
    border-bottom: 2px solid rgba(10, 37, 64, 0.35);
}

.partner-banner--factory .decoration-square {
    border-radius: 12px;
    border: 1px solid rgba(10, 37, 64, 0.12);
    background: transparent;
    transform: rotate(18deg);
    box-shadow: 0 0 0 20px rgba(10, 37, 64, 0.03);
}

@media (max-width: 980px) {
    .hero-layer {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .hero-stage {
        min-height: clamp(200px, 34vh, 320px);
    }

    .hero.hero--particles .hero-content {
        max-width: 100%;
        justify-self: stretch;
    }
}

@media (max-width: 768px) {
    .hero.hero--particles {
        min-height: auto;
        padding-top: calc(var(--header-height, 50px) + 16px);
        padding-bottom: 24px;
    }

    .hero.hero--particles .hero-content {
        text-align: left;
    }

    .hero.hero--particles .hero-title {
        font-size: clamp(2.35rem, 10vw, 2.9rem);
        text-align: left;
    }

    .hero.hero--particles .hero-desc {
        font-size: 0.95rem;
        text-align: left;
    }

    .hero.hero--particles .hero-actions {
        width: 100%;
    }

    .hero.hero--particles .hero-actions .btn {
        flex: 1 1 auto;
        justify-content: center;
    }

    .partner-banners-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .partner-banner {
        padding: 28px 22px;
    }

    .partner-banner h3 {
        font-size: 1.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-badge-dot {
        animation: none;
    }

    .hero.hero--particles .hero-title-medium {
        animation: none;
    }
}
