/* ============================================================
   首页横幅动态展示（banner_showcase）
   说明：全部使用 bh- 前缀独立类，不修改 style.css 中任何现有类；
   纯 CSS 动画（无 JS、无外部资源、无内联样式），基础字号 13px；
   分电脑端（>860px 两栏）与移动端（<=860px 上下堆叠）。
   ============================================================ */

/* ---------- 横幅容器（仅新增复合类，不覆盖原 .banner 定义文件） ---------- */
.banner.banner-hero {
    position: relative;
    overflow: hidden;
    padding: 64px 24px 72px;
    text-align: left;
    background:
        radial-gradient(1100px 480px at 82% -12%, rgba(255, 255, 255, 0.16), transparent 62%),
        radial-gradient(700px 420px at -8% 110%, rgba(56, 225, 255, 0.16), transparent 60%),
        linear-gradient(135deg, #4d59dd 0%, #6772ea 55%, #8b93f2 100%);
}

/* ---------- 背景科技网格（缓慢漂移） ---------- */
.bh-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
    background-size: 42px 42px;
    -webkit-mask-image: radial-gradient(ellipse 72% 85% at 62% 42%, #000 28%, transparent 76%);
    mask-image: radial-gradient(ellipse 72% 85% at 62% 42%, #000 28%, transparent 76%);
    animation: bh-grid-move 16s linear infinite;
    pointer-events: none;
}

@keyframes bh-grid-move {
    from { background-position: 0 0, 0 0; }
    to   { background-position: 42px 42px, 42px 42px; }
}

/* ---------- 漂浮光斑 ---------- */
.bh-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(46px);
    pointer-events: none;
}
.bh-orb-1 {
    width: 260px;
    height: 260px;
    left: -70px;
    top: -60px;
    background: rgba(140, 152, 255, 0.5);
    animation: bh-orb-drift 13s ease-in-out infinite alternate;
}
.bh-orb-2 {
    width: 210px;
    height: 210px;
    right: 6%;
    bottom: -80px;
    background: rgba(56, 225, 255, 0.32);
    animation: bh-orb-drift 17s ease-in-out infinite alternate-reverse;
}

@keyframes bh-orb-drift {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(36px, 26px) scale(1.12); }
}

/* ---------- 主体两栏布局 ---------- */
.bh-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 48px;
}

.bh-text {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.bh-badge {
    display: inline-block;
    font-size: 13px;
    letter-spacing: 2px;
    color: #fff;
    padding: 5px 16px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    margin-bottom: 18px;
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.18) inset;
}

/* ---------- 展示舞台 ---------- */
.bh-stage {
    position: relative;
    width: 470px;
    height: 360px;
    flex-shrink: 0;
    perspective: 1100px;
}

/* 底部投影光晕 */
.bh-glow {
    position: absolute;
    left: 12%;
    right: 16%;
    bottom: 4px;
    height: 34px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(8, 10, 34, 0.55), transparent 70%);
    filter: blur(5px);
}

/* 旋转装饰环（弧光效果） */
.bh-ring {
    position: absolute;
    width: 350px;
    height: 350px;
    right: -36px;
    top: -48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-top-color: rgba(255, 255, 255, 0.6);
    animation: bh-spin 26s linear infinite;
    pointer-events: none;
}
.bh-ring::after {
    content: "";
    position: absolute;
    inset: 26px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.22);
    animation: bh-spin-rev 40s linear infinite;
}

@keyframes bh-spin     { to { transform: rotate(360deg); } }
@keyframes bh-spin-rev { to { transform: rotate(-360deg); } }

/* ---------- 客户端窗口模型（3D 悬浮） ---------- */
.bh-window {
    position: absolute;
    left: 0;
    right: 34px;
    top: 32px;
    bottom: 44px;
    z-index: 1;
    background: #161a2e;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    overflow: hidden;
    box-shadow:
        0 30px 60px rgba(10, 12, 40, 0.45),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    animation: bh-window-float 7s ease-in-out infinite;
    transform-style: preserve-3d;
}

@keyframes bh-window-float {
    0%, 100% { transform: rotateY(-8deg) rotateX(4deg) translateY(0); }
    50%      { transform: rotateY(-8deg) rotateX(4deg) translateY(-10px); }
}

/* 窗口表面高光 */
.bh-window::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg,
        transparent 40%,
        rgba(255, 255, 255, 0.05) 45%,
        rgba(255, 255, 255, 0.10) 50%,
        rgba(255, 255, 255, 0.05) 55%,
        transparent 60%);
    pointer-events: none;
    z-index: 4;
}

/* 标题栏 */
.bh-titlebar {
    height: 36px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 14px;
    background: #0f1225;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.bh-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.bh-dot-r { background: #ff5f57; }
.bh-dot-y { background: #febc2e; }
.bh-dot-g { background: #28c840; }
.bh-win-title {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.72);
    margin-left: 8px;
    letter-spacing: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 主体：左侧导航 + 右侧屏幕 */
.bh-body {
    display: flex;
    height: calc(100% - 36px);
}
.bh-side {
    width: 92px;
    flex-shrink: 0;
    background: #11142a;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    padding: 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 11px;
}
.bh-logo {
    height: 26px;
    border-radius: 6px;
    background: linear-gradient(135deg, #5662e3, #38e1ff);
    margin-bottom: 8px;
    opacity: 0.92;
}
.bh-nav { height: 9px; border-radius: 5px; background: rgba(255, 255, 255, 0.14); }
.bh-nav.active { background: linear-gradient(90deg, #5662e3, #38e1ff); }

.bh-screen {
    position: relative;
    flex: 1;
    min-width: 0;
    background: linear-gradient(160deg, #1b2040 0%, #131730 100%);
}

/* 扫描线（上下巡游） */
.bh-scan {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 48px;
    z-index: 3;
    background: linear-gradient(180deg, transparent, rgba(56, 225, 255, 0.12), transparent);
    animation: bh-scan 5s linear infinite;
    pointer-events: none;
}

@keyframes bh-scan {
    from { transform: translateY(-48px); }
    to   { transform: translateY(240px); }
}

/* ---------- 四屏界面轮播（16s 一循环） ---------- */
.bh-pane {
    position: absolute;
    inset: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    animation: bh-pane-cycle 16s linear infinite;
}
.bh-pane-1 { animation-delay: 0s; }
.bh-pane-2 { animation-delay: -4s; }
.bh-pane-3 { animation-delay: -8s; }
.bh-pane-4 { animation-delay: -12s; }

@keyframes bh-pane-cycle {
    0%   { opacity: 0; transform: translateY(10px); }
    4%   { opacity: 1; transform: translateY(0); }
    24%  { opacity: 1; transform: translateY(0); }
    30%  { opacity: 0; transform: translateY(-8px); }
    100% { opacity: 0; transform: translateY(0); }
}

.bh-pane-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.bh-pane-head b {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 2px;
}
.bh-tag {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    padding: 1px 10px;
    white-space: nowrap;
}

/* ---------- 界面一：订单管理 ---------- */
.bh-row {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    padding: 9px 12px;
}
.bh-ava {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    flex-shrink: 0;
    background: linear-gradient(135deg, #7c84f0, #38e1ff);
}
.bh-bar { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.22); }
.bh-w-xs { width: 26px; }
.bh-w-sm { width: 48px; }
.bh-w-md { width: 78px; }
.bh-w-lg { width: 108px; }

.bh-st {
    margin-left: auto;
    font-style: normal;
    font-size: 13px;
    line-height: 1.4;
    padding: 1px 9px;
    border-radius: 999px;
    white-space: nowrap;
}
.bh-st-green { color: #5ff0b0; background: rgba(64, 222, 151, 0.14); border: 1px solid rgba(64, 222, 151, 0.4); }
.bh-st-amber { color: #ffd479; background: rgba(255, 196, 86, 0.12); border: 1px solid rgba(255, 196, 86, 0.4); }
.bh-st-blue  { color: #9aa8ff; background: rgba(126, 140, 255, 0.16); border: 1px solid rgba(126, 140, 255, 0.45); }
.bh-st-cyan  { color: #55e6ff; background: rgba(56, 225, 255, 0.12); border: 1px solid rgba(56, 225, 255, 0.4); }

/* ---------- 界面二：数据看板 ---------- */
.bh-cards { display: flex; gap: 10px; }
.bh-stat {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.bh-stat i {
    height: 10px;
    width: 55%;
    border-radius: 5px;
    background: linear-gradient(90deg, #7c84f0, #38e1ff);
}
.bh-stat:nth-child(2) i { background: linear-gradient(90deg, #38e1ff, #4ad9a5); }
.bh-stat:nth-child(3) i { background: linear-gradient(90deg, #ffb86b, #ff7ab0); }
.bh-stat span { height: 7px; width: 82%; border-radius: 4px; background: rgba(255, 255, 255, 0.18); }

.bh-bars {
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: flex-end;
    gap: 12px;
    padding: 4px 4px 0;
}
.bh-bars i {
    flex: 1;
    border-radius: 4px 4px 0 0;
    background: linear-gradient(180deg, #7c84f0, rgba(124, 132, 240, 0.22));
    transform-origin: bottom;
    animation: bh-breathe 2.6s ease-in-out infinite alternate;
}
.bh-bars i:nth-child(6) { background: linear-gradient(180deg, #38e1ff, rgba(56, 225, 255, 0.2)); }
.bh-bars i:nth-child(2) { animation-delay: -0.4s; }
.bh-bars i:nth-child(3) { animation-delay: -0.8s; }
.bh-bars i:nth-child(4) { animation-delay: -1.2s; }
.bh-bars i:nth-child(5) { animation-delay: -1.6s; }
.bh-bars i:nth-child(6) { animation-delay: -2s; }

@keyframes bh-breathe {
    from { transform: scaleY(0.86); }
    to   { transform: scaleY(1); }
}
.bh-h1 { height: 38%; }
.bh-h2 { height: 62%; }
.bh-h3 { height: 46%; }
.bh-h4 { height: 78%; }
.bh-h5 { height: 54%; }
.bh-h6 { height: 90%; }

/* ---------- 界面三：产品库 ---------- */
.bh-grid-cards {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr 1fr;
    gap: 10px;
}
.bh-prod {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 0;
}
.bh-prod i {
    flex: 1;
    min-height: 0;
    border-radius: 6px;
    background:
        radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.22), transparent 55%),
        linear-gradient(135deg, #3a4187, #22274f);
}
.bh-prod:nth-child(2) i { background: radial-gradient(circle at 30% 28%, rgba(255,255,255,0.2), transparent 55%), linear-gradient(135deg, #2b5e8f, #1c2c49); }
.bh-prod:nth-child(3) i { background: radial-gradient(circle at 30% 28%, rgba(255,255,255,0.2), transparent 55%), linear-gradient(135deg, #47426e, #262247); }
.bh-prod:nth-child(4) i { background: radial-gradient(circle at 30% 28%, rgba(255,255,255,0.2), transparent 55%), linear-gradient(135deg, #2f6d63, #1b3634); }
.bh-prod:nth-child(5) i { background: radial-gradient(circle at 30% 28%, rgba(255,255,255,0.2), transparent 55%), linear-gradient(135deg, #6e4a3a, #3a2721); }
.bh-prod:nth-child(6) i { background: radial-gradient(circle at 30% 28%, rgba(255,255,255,0.2), transparent 55%), linear-gradient(135deg, #5662e3, #323878); }
.bh-prod span { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.2); flex-shrink: 0; }

/* ---------- 界面四：统计报表 ---------- */
.bh-chart {
    flex: 1;
    min-height: 0;
    width: 100%;
}
.bh-chart-halo { animation: bh-halo 2.4s ease-in-out infinite alternate; }

@keyframes bh-halo {
    from { opacity: 0.12; }
    to   { opacity: 0.5; }
}

/* ---------- 轮播指示点 ---------- */
.bh-dots {
    position: absolute;
    left: 0;
    right: 34px;
    bottom: 12px;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 2;
}
.bh-dots span {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.35);
    animation: bh-dot-cycle 16s linear infinite;
}
.bh-dots span:nth-child(1) { animation-delay: 0s; }
.bh-dots span:nth-child(2) { animation-delay: -4s; }
.bh-dots span:nth-child(3) { animation-delay: -8s; }
.bh-dots span:nth-child(4) { animation-delay: -12s; }

@keyframes bh-dot-cycle {
    0%, 24%  { background: #fff; width: 20px; }
    30%, 96% { background: rgba(255, 255, 255, 0.35); width: 7px; }
    100%     { background: #fff; width: 20px; }
}

/* ---------- 漂浮数据小卡 ---------- */
.bh-chip {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: #23284d;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 999px;
    padding: 7px 14px;
    box-shadow: 0 10px 24px rgba(12, 16, 50, 0.35);
    animation: bh-chip-bob 5s ease-in-out infinite;
    white-space: nowrap;
}
.bh-chip i {
    font-style: normal;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    line-height: 1;
}
.bh-chip-1 { top: 14px; right: -8px; }
.bh-chip-1 i { background: #28c840; }
.bh-chip-2 { left: -26px; top: 45%; animation-delay: -1.6s; }
.bh-chip-2 i { background: #5662e3; }
.bh-chip-3 { right: -14px; bottom: 70px; animation-delay: -3.2s; }
.bh-chip-3 i { background: #12a8d8; }

@keyframes bh-chip-bob {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}

/* ============================================================
   移动端适配（<=860px 上下堆叠）
   ============================================================ */
@media (max-width: 860px) {
    .banner.banner-hero {
        padding: 48px 18px 56px;
        text-align: center;
    }
    .bh-inner {
        flex-direction: column;
        gap: 36px;
    }
    .bh-text { text-align: center; }
    .bh-stage {
        width: 100%;
        max-width: 430px;
        height: 330px;
        margin: 0 auto;
    }
    .bh-window { right: 0; }
    .bh-dots { right: 0; }
    .bh-chip-1 { right: 2px; }
    .bh-chip-2 { left: 2px; }
    .bh-chip-3 { right: 2px; bottom: 64px; }
}

@media (max-width: 480px) {
    .bh-chip, .bh-ring { display: none; }
    .bh-stage { height: 300px; }
    .bh-badge { letter-spacing: 1px; }
}
