* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 定义youshe字体 */
@font-face {
    font-family: 'youshe';
    src: url('/img/youshe.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-blue: #1e90ff;
    --secondary-blue: #4169e1;
    --accent-cyan: #00ced1;
    --dark-bg: #040b21;
    --panel-bg: rgba(15, 25, 45, 0.85);
    --panel-bg-dim: rgba(15, 25, 45, 0.75);
    --border-color: rgba(30, 144, 255, 0.4);
    --border-color-dim: rgba(30, 144, 255, 0.35);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.9);
    --text-dim: rgba(255, 255, 255, 0.75);
    --success: #52c41a;
    --warning: #faad14;
    --danger: #ff4d4f;
    --info: #1890ff;

    /* 中心区域专用颜色 */
    --center-glow: #00ffff;
    --center-primary: #00e5ff;
    --center-secondary: #18ffff;
    --center-accent: #64ffda;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    overflow-x: hidden;
    /* 禁止横向滚动条 */
    overflow-y: auto;
    /* 允许纵向滚动条 */
    min-height: 100vh;
    height: auto;
    margin: 0;
    cursor: default;
    position: relative;
    /* 使用JavaScript进行缩放和居中 */
}

.body {
    width: 1920px;
    height: 1080px;
    margin: 0 auto;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-height: auto;

}


/* #app容器样式 */
#app {
    width: 1920px;
    height: 1080px;
    position: relative;
    overflow: hidden;
    /* 确保#app容器在body中左对齐，不居中 */
    margin: 0;
    left: 0;
    /* 将背景图片从body移到#app容器 */
    background: url('/img/liangbian.png') center / cover no-repeat fixed;
    /* 为缩放功能添加必要的样式 */
    transform-origin: top left;
    will-change: auto !important;
}


/* 背景动画�?*/
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.3;
    will-change: transform;
}

.grid-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(30, 144, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 144, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    will-change: transform;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(30, 144, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 206, 209, 0.1) 0%, transparent 50%);
    animation: float 15s ease-in-out infinite;
    will-change: transform;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* ========== 科技特效样式 ========== */
.tech-effects {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.2;
    will-change: transform;
}

#neuralNetwork {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
}

.scan-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,
            transparent,
            rgba(0, 206, 209, 0.4),
            transparent);
    top: 0;
    animation: scanDown 8s linear infinite;
    will-change: transform;
}

@keyframes scanDown {
    0% {
        top: -2px;
    }

    100% {
        top: 100%;
    }
}

/* 数据流粒子系�?*/
.particle-system {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.4;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: radial-gradient(circle,
            rgba(30, 144, 255, 0.6) 0%,
            transparent 70%);
    border-radius: 50%;
}

.particle:nth-child(1) {
    top: 10%;
    left: 5%;
    animation: particleFloat1 15s linear infinite;
}

.particle:nth-child(2) {
    top: 20%;
    right: 10%;
    animation: particleFloat2 18s linear infinite;
}

.particle:nth-child(3) {
    bottom: 30%;
    left: 8%;
    animation: particleFloat3 20s linear infinite;
}

.particle:nth-child(4) {
    top: 40%;
    right: 5%;
    animation: particleFloat4 16s linear infinite;
}

.particle:nth-child(5) {
    bottom: 15%;
    right: 12%;
    animation: particleFloat5 22s linear infinite;
}

.particle:nth-child(6) {
    top: 60%;
    left: 3%;
    animation: particleFloat6 19s linear infinite;
}

.particle:nth-child(7) {
    bottom: 40%;
    right: 7%;
    animation: particleFloat7 17s linear infinite;
}

.particle:nth-child(8) {
    top: 80%;
    left: 10%;
    animation: particleFloat8 21s linear infinite;
}

@keyframes particleFloat1 {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translate(300px, -200px);
        opacity: 0;
    }
}

@keyframes particleFloat2 {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translate(-250px, 300px);
        opacity: 0;
    }
}

@keyframes particleFloat3 {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translate(200px, -250px);
        opacity: 0;
    }
}

@keyframes particleFloat4 {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translate(-300px, -150px);
        opacity: 0;
    }
}

@keyframes particleFloat5 {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translate(-200px, -300px);
        opacity: 0;
    }
}

@keyframes particleFloat6 {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translate(350px, 100px);
        opacity: 0;
    }
}

@keyframes particleFloat7 {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translate(-180px, 200px);
        opacity: 0;
    }
}

@keyframes particleFloat8 {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translate(250px, -180px);
        opacity: 0;
    }
}

/* 全息投影网格 */
.hologram-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    perspective: 1000px;
    opacity: 0.2;
}

.holo-line {
    position: absolute;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(0, 206, 209, 0.05) 50%,
            transparent 100%);
}

.holo-line.horizontal {
    width: 100%;
    height: 1px;
    left: 0;
}

.holo-line.horizontal:nth-child(1) {
    top: 25%;
    animation: holo-h1 10s ease-in-out infinite;
}

.holo-line.horizontal:nth-child(2) {
    top: 50%;
    animation: holo-h2 12s ease-in-out infinite;
}

.holo-line.horizontal:nth-child(3) {
    top: 75%;
    animation: holo-h3 14s ease-in-out infinite;
}

.holo-line.vertical {
    height: 100%;
    width: 1px;
    top: 0;
}

.holo-line.vertical:nth-child(4) {
    left: 25%;
    animation: holo-v1 11s ease-in-out infinite;
}

.holo-line.vertical:nth-child(5) {
    left: 50%;
    animation: holo-v2 13s ease-in-out infinite;
}

.holo-line.vertical:nth-child(6) {
    left: 75%;
    animation: holo-v3 15s ease-in-out infinite;
}

@keyframes holo-h1 {

    0%,
    100% {
        opacity: 0.1;
        transform: translateZ(0);
    }

    50% {
        opacity: 0.3;
        transform: translateZ(50px);
    }
}

@keyframes holo-h2 {

    0%,
    100% {
        opacity: 0.1;
        transform: translateZ(0);
    }

    50% {
        opacity: 0.3;
        transform: translateZ(-50px);
    }
}

@keyframes holo-h3 {

    0%,
    100% {
        opacity: 0.1;
        transform: translateZ(0);
    }

    50% {
        opacity: 0.3;
        transform: translateZ(30px);
    }
}

@keyframes holo-v1 {

    0%,
    100% {
        opacity: 0.1;
        transform: translateZ(0);
    }

    50% {
        opacity: 0.3;
        transform: translateZ(-30px);
    }
}

@keyframes holo-v2 {

    0%,
    100% {
        opacity: 0.1;
        transform: translateZ(0);
    }

    50% {
        opacity: 0.3;
        transform: translateZ(40px);
    }
}

@keyframes holo-v3 {

    0%,
    100% {
        opacity: 0.1;
        transform: translateZ(0);
    }

    50% {
        opacity: 0.3;
        transform: translateZ(-40px);
    }
}

/* 雷达扫描效果 */
.radar-container {
    position: absolute;
    top: 10%;
    right: 5%;
    width: 150px;
    height: 150px;
    opacity: 0.15;
}

.radar-container::before,
.radar-container::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(30, 144, 255, 0.1);
    border-radius: 50%;
}

.radar-container::after {
    inset: 20%;
    border-color: rgba(30, 144, 255, 0.08);
}

.radar-sweep {
    position: absolute;
    inset: 0;
    background: conic-gradient(from 0deg,
            transparent 0deg,
            rgba(0, 206, 209, 0.2) 30deg,
            transparent 60deg);
    border-radius: 50%;
    animation: radarSweep 4s linear infinite;
}

@keyframes radarSweep {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.radar-dot {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(0, 206, 209, 0.5);
    border-radius: 50%;
}

.radar-dot:nth-child(2) {
    top: 30%;
    left: 40%;
    animation: radarBlink 2s ease-in-out infinite;
}

.radar-dot:nth-child(3) {
    top: 60%;
    left: 70%;
    animation: radarBlink 2s ease-in-out infinite 0.5s;
}

.radar-dot:nth-child(4) {
    top: 45%;
    left: 25%;
    animation: radarBlink 2s ease-in-out infinite 1s;
}

@keyframes radarBlink {

    0%,
    100% {
        opacity: 0.2;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.5);
    }
}

/* 二进制代码雨 */
.code-rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.04;
}

.code-column {
    position: absolute;
    font-family: 'Courier New', monospace;
    font-size: 10px;
    color: var(--primary-blue);
    line-height: 10px;
    animation: codefall linear infinite;
}

.code-column::before {
    content: '01101\A00110\A11010\A01011\A10101\A01101\A11001\A00111';
    white-space: pre;
}

.code-column:nth-child(1) {
    left: 10%;
    animation-duration: 10s;
}

.code-column:nth-child(2) {
    left: 25%;
    animation-duration: 12s;
    animation-delay: -2s;
}

.code-column:nth-child(3) {
    left: 40%;
    animation-duration: 9s;
    animation-delay: -5s;
}

.code-column:nth-child(4) {
    left: 70%;
    animation-duration: 11s;
    animation-delay: -3s;
}

.code-column:nth-child(5) {
    left: 85%;
    animation-duration: 13s;
    animation-delay: -7s;
}

@keyframes codefall {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100vh);
    }
}

/* 机器人轮廓装�?*/
.robot-silhouette {
    position: absolute;
    width: 80px;
    height: 100px;
    opacity: 0.08;
}

.left-robot {
    bottom: 20%;
    left: 2%;
    animation: robotFloat1 8s ease-in-out infinite;
}

.right-robot {
    top: 15%;
    right: 2%;
    animation: robotFloat2 10s ease-in-out infinite;
}

@keyframes robotFloat1 {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

@keyframes robotFloat2 {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(10px) rotate(-5deg);
    }
}

/* 电路板纹�?*/
.circuit-pattern {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    opacity: 0.015;
    background-image:
        repeating-linear-gradient(0deg,
            transparent,
            transparent 10px,
            rgba(30, 144, 255, 0.1) 10px,
            rgba(30, 144, 255, 0.1) 11px),
        repeating-linear-gradient(90deg,
            transparent,
            transparent 10px,
            rgba(30, 144, 255, 0.1) 10px,
            rgba(30, 144, 255, 0.1) 11px);
    background-size: 50px 50px;
    mask-image: linear-gradient(to top, transparent, black);
    -webkit-mask-image: linear-gradient(to top, transparent, black);
}

/* 数据传输轨道 */
.data-orbit {
    position: absolute;
    bottom: 10%;
    left: 5%;
    width: 200px;
    height: 200px;
    opacity: 0.12;
}

.orbit-ring {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(30, 144, 255, 0.1);
    border-radius: 50%;
    transform: rotateX(70deg);
}

.orbit-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, rgba(0, 206, 209, 0.5), transparent);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    margin: -3px 0 0 -3px;
}

.orbit-dot:nth-child(2) {
    animation: orbit1 6s linear infinite;
}

.orbit-dot:nth-child(3) {
    animation: orbit1 6s linear infinite -2s;
}

.orbit-dot:nth-child(4) {
    animation: orbit1 6s linear infinite -4s;
}

@keyframes orbit1 {
    0% {
        transform: rotate(0deg) translateX(100px) rotate(0deg);
    }

    100% {
        transform: rotate(360deg) translateX(100px) rotate(-360deg);
    }
}

/* ========== 主容�?========== */
.dashboard-container {
    position: relative;
    z-index: 1;
    width: 100%;
    /* 固定容器为一屏，考虑顶部区域高度 */
    height: calc(100% - 80px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.dashboard-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 15, 27, 0.4);
    z-index: -1;
}

/* 顶部导航�?*/
.header-bar {
    height: 60px;
    background: linear-gradient(90deg, rgba(15, 25, 45, 0.95), rgba(20, 35, 60, 0.95));
    border-bottom: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    flex-shrink: 0;
}

.header-left,
.header-right {
    flex: 0 0 auto;
}

.header-center {
    flex: 1;
    text-align: center;
}



.main-title {
    font-size: 30px;
    font-weight: bold;
    background: linear-gradient(90deg, #4fc3f7, #00e5ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 4px;
}



/* 主内容区 */
.main-content {
    flex: 1;
    display: grid;
    grid-template-columns: 420px 1fr 420px;
    gap: 10px;
    padding: 10px;
    /* 主区域固定高度并且自身不滚动 */
    overflow: hidden;
    height: calc(100dvh - 60px);
}

/* 响应式调�?*/
@media (min-width: 1920px) {
    .main-content {
        grid-template-columns: 380px 1fr 380px;
        gap: 15px;
        padding: 15px;
    }
}

@media (max-width: 1600px) {
    .main-content {
        grid-template-columns: 380px 1fr 380px;
        gap: 10px;
        padding: 10px;
    }
}

/* 左栏和右栏样�?*/
.left-panel,
.right-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow: hidden;
    height: 100%;
    min-height: 0;
    width: 380px;
}



.left-panel .coordination-module {
    flex: 1;
    min-height: 100px;
}

.left-panel .coordination-module .module-body {
    padding: 0;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 右栏模块高度分配 */
.right-panel .agent-module {
    flex: 0 0 300px;
}

.right-panel .layout-module {
    flex: 0 0 210px;
}

.right-panel .distribution-module {
    flex: 0 0 222px;
}

.right-panel .fusion-module {
    /* 占据右栏剩余空间，与左栏“四侧协调”对�?*/
    flex: 1;
    min-height: 120px;
}

/* 中栏样式 */
.center-panel {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
    min-width: 700px;
    overflow: hidden;
    background-image: url('/img/main_bg.png');
    background-position: center 70px;
    background-repeat: no-repeat;
    background-position-y: 92px;
}

.center-panel .top-indicators {
    flex: 0 0 auto;
}

.center-panel .three-layer-container {
    flex: 1;
    min-height: 360px;
}

.center-panel .alert-monitor {
    /* 由内容驱动高度，避免被固定高度裁�?*/
    flex: 0 0 auto;
}

/* 模块通用样式 */
.left-panel .module,
.right-panel .module {
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* 中心区域模块样式 */
.center-panel .module {
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.module-header {
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

/* 模块标题 - 使用背景图片替换文字 */
.left-panel .module-title,
.right-panel .module-title,
.center-panel .module-title {
    font-family: 'youshe', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #E6F7FF;
    /* 隐藏文字，使用背景图片 */
    text-indent: -9999px;
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 100%;
}

/* 为.module-header添加背景图片 */
.module-header {
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 40px;
    /* 确保有足够高度显示背景图片 */
}

/* 左侧模块背景图片 */
.left-panel .cluster-module .module-header {
    background-image: url('/img/rencai_title.png');
}

.left-panel .innovation-module .module-header {
    background-image: url('/img/chuangxin_jishu_title.png');
}

.left-panel .transform-module .module-header {
    background-image: url('/img/chuangxin_chengguo_title.png');
}

.left-panel .coordination-module .module-header {
    background-image: url('/img/sice_title.png');
}

/* 右侧模块背景图片 */
.right-panel .agent-module .module-header {
    background-image: url('/img/keyan_title.png');
}

.right-panel .layout-module .module-header {
    background-image: url('/img/kechuang_title.png');
}

.right-panel .distribution-module .module-header {
    background-image: url('/img/zhongdian_title.png');
}

.right-panel .fusion-module .module-header {
    background-image: url('/img/silian_title.png');
}

.module-icon {
    font-size: 17px;
}

.module-body {
    padding: 16px 10px;
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* 前沿集群建设 */
.cluster-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-bottom: 8px;
}

/* 顶部区域样式 */
.top-section {
    position: relative;
    width: 100%;
    height: 80px;
    background: #040b21 url('/img/top.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 10;
    pointer-events: none;
    padding: 0 20px;
}

.top-section .inner {
    width: 100%;
    height: 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-left {
    pointer-events: auto;
}

.top-right {
    pointer-events: auto;
}

.top-section .inner .time-display {
    color: #fff;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.top-section .inner .time-display .time {
    font-size: 20px;
    font-weight: normal;
    color: #E6F7FF;
    display: inline;
}

.top-section .inner .time-display .date {
    font-size: 14px;
    font-weight: normal;
    color: #E6F7FF;
    display: inline;
}

.top-section .inner .time-display .separator {
    width: 1px;
    height: 16px;
    background-color: #E6F7FF;
    opacity: 0.6;
}

.top-section .inner .update-time {
    color: #E6F7FF;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-section .inner .update-time .update-label {
    opacity: 0.8;
}

.top-section .inner .update-time .update-value {
    font-weight: normal;
}

.cluster-card {
    width: 120px;
    height: 50px;
    padding: 8px 4px;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    border-radius: 4px;
    cursor: default;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cluster-card[data-type="tech"] {
    background-image: url('/img/rencai_bg1.png');
}

.cluster-card[data-type="safety"] {
    background-image: url('/img/rencai_bg2.png');
}

.cluster-card[data-type="supervision"] {
    background-image: url('/img/rencai_bg3.png');
}

.card-value {
    font-size: 17px;
    font-weight: bold;
    color: #FFFFFF;
    margin-bottom: 2px;
    line-height: 1em;
    text-align: left;
    padding-left: 48px;
}

.card-label {
    font-size: 12px;
    font-weight: normal;
    color: #ffffff;
    opacity: 0.8;
    line-height: 1em;
    text-align: left;
    padding-left: 48px;
}

.cluster-process {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    margin-bottom: 10px;
}

.process-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    width: 121px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 -4.5px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.process-text:nth-child(1) {
    background-image: url('/img/r_3_1.png');
    margin-left: 0;
}

.process-text:nth-child(2),
.process-text:nth-child(3) {
    background-image: url('/img/r_3_2.png');
}

.process-text:nth-child(1).active {
    background-image: url('/img/r_3_1_active.png');
}

.process-text:nth-child(2).active,
.process-text:nth-child(3).active {
    background-image: url('/img/r_3_2_active.png');
}

/* 创新技术攻�?*/
.innovation-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    margin-bottom: 16px;
}

.metric-card {
    width: 174px;
    height: 42px;
    padding: 8px 4px;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.3s;
}

.metric-card:hover {
    transform: scale(1.02);
}

.metric-card-1 {
    background-image: url('/img/chuangxin_card1.png');
}

.metric-card-2 {
    background-image: url('/img/chuangxin_card2.png');
}

.metric-card-3 {
    background-image: url('/img/chuangxin_card3.png');
}

.metric-card-4 {
    background-image: url('/img/chuangxin_card4.png');
}

.metric-value {
    font-size: 16px;
    font-weight: bold;
    background: linear-gradient(to bottom, #FFFFFF, #7dc0ed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2px;
    line-height: 1em;
    text-align: left;
    padding-left: 52px;
}

.metric-label {
    font-size: 12px;
    font-weight: normal;
    color: #ffffff;
    opacity: 0.8;
    line-height: 1em;
    text-align: left;
    padding-left: 52px;
    margin-top: 4px;
}

.process-flow {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0 0 16px 0;
}

.flow-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 94px;
    height: 40px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0 -4.5px;
}

.flow-node:nth-child(1) {
    background-image: url('/img/r_4_1.png');
    margin-left: 0;
}

.flow-node:nth-child(2) {
    background-image: url('/img/r_4_2.png');
}

.flow-node:nth-child(3) {
    background-image: url('/img/r_4_2.png');
}

.flow-node:nth-child(4) {
    background-image: url('/img/r_4_2.png');
}

.flow-node:nth-child(1).active {
    background-image: url('/img/r_4_1_active.png');
}

.flow-node:nth-child(2).active {
    background-image: url('/img/r_4_2_active.png');
}

.flow-node:nth-child(3).active {
    background-image: url('/img/r_4_2_active.png');
}

.flow-node:nth-child(4).active {
    background-image: url('/img/r_4_2_active.png');
}

.node-icon {
    font-size: 15px;
    margin-bottom: 2px;
}

.node-text {
    font-size: 12px;
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
    max-width: 80px;
    line-height: 1.1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;

}

.flow-arrow {
    color: #4fc3f7;
    font-size: 13px;

}

.quick-transform {
    margin-top: 8px;
}

.sub-title {
    font-size: 13px;
    color: #4fc3f7;
    margin-bottom: 6px;
    font-weight: 600;

}

.transform-stats-horizontal {
    display: flex;
    gap: 4px;
    justify-content: space-between;
}

.stat-card-h {
    flex: 1;
    padding: 6px 4px;
    background: rgba(30, 144, 255, 0.08);
    border-left: 2px solid #4fc3f7;
    border-radius: 3px;
    text-align: center;
}

.stat-card-h .stat-value {
    display: block;
    font-size: 16px;
    font-weight: bold;
    color: #4fc3f7;
    margin-bottom: 2px;

}

.stat-card-h .stat-label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.1;

}

/* 创新成果转化 */
.industry-tags {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    margin-bottom: 16px;
}

.industry-tag {
    width: 167px;
    height: 50px;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.industry-tag:hover {
    transform: scale(1.02);
}



.industry-value {
    font-size: 16px;
    font-weight: bold;
    background: linear-gradient(to bottom, #FFFFFF, #7dc0ed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2px;
    line-height: 1em;
    text-align: left;
    padding-left: 52px;
}

.industry-label {
    font-size: 12px;
    font-weight: normal;
    color: #ffffff;
    opacity: 0.8;
    line-height: 1em;
    text-align: left;
    padding-left: 52px;
    margin-top: 4px;
}

.industry-tag-1 {
    background-image: url('/img/industry_card1.png');
}

.industry-tag-2 {
    background-image: url('/img/industry_card2.png');
}

.industry-tag-3 {
    background-image: url('/img/industry_card3.png');
}

.industry-tag-4 {
    background-image: url('/img/industry_card4.png');
}

.industry-tag-5 {
    background-image: url('/img/industry_card5.png');
}

.transform-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px;
    background: rgba(30, 144, 255, 0.08);
    border-radius: 4px;
    margin-bottom: 8px;
}

.transform-step {
    font-size: 10px;
    padding: 4px 6px;
    background: rgba(30, 144, 255, 0.12);
    border-radius: 8px;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.9);

}

.transform-arrow {
    color: #4fc3f7;
    font-size: 13px;

}

.unit {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.75);
    margin-left: 2px;
}

/* 四侧协调 */
.coordination-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: nowrap;
}

.coord-item {
    width: 79px;
    height: 84px;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.coord-item:hover {
    transform: scale(1.05);
}

.coord-label {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    background: linear-gradient(to bottom, #FFFFFF, #A6D4FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: translateY(-20px);
}

.coord-item-1 {
    background-image: url('/img/sice_1.png');
}

.coord-item-2 {
    background-image: url('/img/sice_2.png');
}

.coord-item-3 {
    background-image: url('/img/sice_3.png');
}

.coord-item-4 {
    background-image: url('/img/sice_4.png');
}

/* 顶部指标�?*/
.top-indicators {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    margin: 0 80px;
    margin-bottom: 8px;
}

.indicator-card {
    width: 138px;
    height: 68px;
    padding: 12px 8px;
    background-image: url('/img/data_bg.png');
    background-size: 100% 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
    transform: scale(1);
}

.indicator-card:hover {
    transform: scale(1.05);
}

.indicator-circle {
    position: relative;
    width: 50px;
    height: 50px;
}

.progress-ring {
    transform: rotate(-90deg);
}

.progress-ring-bg {
    fill: none;
    stroke: rgba(30, 144, 255, 0.15);
    stroke-width: 3;
}

.progress-ring-fill {
    fill: none;
    stroke: #00e5ff;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 125;
    stroke-dashoffset: 125;
    transition: stroke-dashoffset 1s ease;
}

.percent-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 13px;
    font-weight: bold;
    color: #00e5ff;

}

.indicator-number {
    font-weight: bold;
    font-size: 20px;
    color: #ECCD6F;
    line-height: 20px;
    text-shadow: 0px 2px 3px #06223A;
    text-align: center;
    font-style: normal;
}

.indicator-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.95);
    text-align: center;
    line-height: 1.2;

}

/* ========== 三层立体结构 - 完全移除光晕 ========== */
.three-layer-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    overflow: hidden;
    background: transparent;
}

.three-layer-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 350px;
    background: transparent;
    pointer-events: none;
}

.layer-wrapper-wide {
    position: relative;
    width: 98%;
    height: 86%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
    margin-top: -30px;
}

.layer {
    position: relative;
    background: transparent;
    transition: all 0.3s ease;
    border: none;
}

.layer-top-wide {
    width: 100%;
    height: 28%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transform: translateY(-18px);
}

.layer-middle-wide {
    width: 100%;
    height: 32%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    margin-top: -50px;
}

.layer-bottom-wide {
    width: 100%;
    height: 34%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    margin-top: -10px;
    transform: translateY(-25px);
}

.layer-content-wide {
    padding: 8px 40px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

/* 标题包装�?- 去除光晕 */
.layer-title-wrapper {
    position: absolute;
    width: 124px;
    height: 37px;
    background: url("/img/titlehuan.png") center no-repeat;
    background-size: 100% 100%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    line-height: 37px;
    font-size: 14px;
    top: 266px;
    font-family: 'youshe', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    transition: all 0.3s;
}

.layer-title-wrapper.cyl:hover {
    top: 280px;
}

.layer-title-wrapper:hover {
    top: 260px;
}

.layer-title-wrapper.znjz:hover {
    top: 154px !important;
}

.layer-title-wrapper.cyl {
    top: 285px;
    /* background-image: url("/img/cylfn.png"); */
    transition: all 0.3s;
}

/* .layer-title-wrapper.cyl:hover {
    transform: scale(1.1);
} */

.layer-title-wrapper.znjz {
    top: 160px;
    /* background-image: url("/img/zndzfn.png"); */
    z-index: 10;
}

/* 产业链层内容 - 卡片拉长并去除光�?*/
.chain-items-wide {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    position: relative;
    padding: 0 20px;
    padding-top: 140px;
    gap: 130px;
    margin-top: -5px;
}

.chain-item-wide {
    flex: 0 0 auto;
    width: 130px;
    /* �?20px增加�?40px */
    height: 60px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.item-inner-wide {
    width: 87px;
    height: 87px;
    box-shadow: inset -3px -5px 17px 0px #357BDA;
    border: 1px solid #A5BAE0;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.item-inner-wide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(50% 50% at 73% 54%, #65BCDE 0%, #09307D 100%);
    border-radius: 50%;
    z-index: -1;
    animation: rotateClockwise 8s linear infinite;
}

@keyframes rotateClockwise {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.chain-item-wide.midstream {
    transform: translateY(44px);
}

.item-inner-wide .item-value {
    font-weight: bold;
    font-size: 24px;
    color: #ECCD6F;
    line-height: 26px;
    text-shadow: 0px 2px 3px #06223A;

}

.item-inner-wide .item-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 10px;
}

.item-inner-wide .item-desc {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.1;
    position: absolute;
    opacity: 0;
}

/* 卫星轨道样式 - SVG路径效果 */
.orbit-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 164px;
    height: 53px;
}

.orbit-track {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

/* SVG轨道定义 */
.orbit-track svg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.orbit-path {
    fill: none;
    stroke: url(#orbitGradient);
    stroke-width: 1px;
}

/* SVG渐变定义 */
.orbit-gradient {
    gradientUnits: userSpaceOnUse;
}

/* 调试模式：0-5%和95-100%时文字为红色，用于定位动画起点和小球位置 */
/* SVG路径分析：M 164 26.5 A 82 26.5 0 1 1 0 26.5 A 82 26.5 0 1 1 164 26.5 */
/* 调整动画，确保0%起点在轨道上方顶点(星球背后)，正右方时完全不可见 */
@keyframes moveAlongPath {
    0% {
        offset-distance: 0%;
        opacity: 1;
        /* 完全可见 */
    }

    10% {
        opacity: 1;
        /* 保持可见 */
    }

    45% {
        opacity: 1;
        /* 保持可见 */
    }

    50% {
        opacity: 1;
        /* 正右方位置，完全不可见 */
    }

    55% {
        opacity: 1;
        /* 保持不可见 */
    }

    60% {
        opacity: 0;
        /* 恢复可见 */
    }

    65% {
        opacity: 0;
        /* 恢复可见 */
    }

    70% {
        opacity: 0;
        /* 恢复可见 */
    }

    90% {
        opacity: 0;
        /* 保持可见 */
    }

    100% {
        offset-distance: 100%;
        opacity: 1;
        /* 完全可见 */
    }
}

/* 调试文字颜色 - 直接应用到标签元素 */
.orbit-item {
    animation: moveAlongPath 15s linear infinite;
}

/* 为轨道标签专门设置调试颜色 */
@keyframes labelColorDebug {
    0% {
        color: red !important;
        /* 起点文字强制变红 */
    }

    5% {
        color: red !important;
        /* 保持红色 */
    }

    10% {
        color: inherit !important;
        /* 恢复默认颜色 */
    }

    90% {
        color: inherit !important;
        /* 恢复默认颜色 */
    }

    95% {
        color: red !important;
        /* 终点文字强制变红 */
    }

    100% {
        color: red !important;
        /* 终点文字强制变红 */
    }
}

/* 应用文字颜色调试动画到标签 */
.orbit-label {
    animation: labelColorDebug 15s linear infinite;
}

.orbit-item {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    z-index: 2;
    offset-path: path('M 164 26.5 A 82 26.5 0 1 1 0 26.5 A 82 26.5 0 1 1 164 26.5');
    animation: moveAlongPath 15s linear infinite;
    transform: rotate(0deg) translateY(8px);
    transform-style: preserve-3d;
    offset-rotate: 0deg;
}

/* 为每个卫星设置不同的起始位置 */
.orbit-item-1 {
    animation-delay: 0s;
}

.orbit-item-2 {
    animation-delay: -3s;
}

.orbit-item-3 {
    animation-delay: -6s;
}

.orbit-item-4 {
    animation-delay: -9s;
}

.orbit-item-5 {
    animation-delay: -12s;
}

.orbit-ball {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(180deg, #98C8FF 0%, #5297FF 100%);
    box-shadow: 0 0 8px rgba(79, 195, 247, 0.8);
}

.orbit-label {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.95);
    white-space: nowrap;
    font-weight: 500;
}

/* 数据层内�?- 去除光晕 */
.data-items-wide {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    gap: 25px;
    padding: 0 20px;
    position: relative;
    margin: 0 auto;
    width: 888px;
}

.data-item-wide {
    width: 175px;
    height: 67px;
    background: url('/img/shuju_bg.png') center no-repeat;
    background-size: 100% 100%;
    border: none;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: all 0.3s;
    overflow: hidden;
    position: absolute;
    right: 50px;
    top: 100px;
}

.data-item-wide:nth-child(1) {
    left: 50px;
}

.data-item-wide:nth-child(2) {
    left: 180px;
    top: 180px;
}

.data-item-wide:nth-child(3) {
    right: 180px;
    top: 180px;
}

.data-item-wide::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(0, 229, 255, 0.6),
            transparent);
    animation: slideShine 4s ease-in-out infinite;
}

@keyframes slideShine {
    0% {
        left: -100%;
    }

    50%,
    100% {
        left: 100%;
    }
}

.data-item-wide:hover {
    transform: translateY(-3px) scale(1.02);
    border-color: #00ffff;
}

.data-inner-wide {
    padding: 6px;
    padding-left: 44px;
    position: relative;
    z-index: 1;
    font-size: 12px;
}

.data-inner-wide .data-icon {
    font-size: 19px;
    margin-bottom: 3px;
}

.data-inner-wide .data-name {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2px;
    font-weight: 500;
    line-height: 1.1;

}

.data-inner-wide .data-size {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.5);

}

.data-inner-wide .data-size b {
    font-weight: bold;
    font-size: 24px;
    color: #ECCD6F;
    line-height: 26px;
    text-shadow: 0px 2px 3px #06223A;
}

/* 算力层内�?- 去除光晕 */
.compute-items-wide {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    gap: 35px;
    padding: 0 30px;
    position: relative;
    margin-top: 0px;
    z-index: 9;
}

.compute-item-wide {
    width: 22px;
    height: 22px;
    transition: all 0.3s;
    /* background: url('/img/dot.png') center no-repeat; */
    background-size: 100% 100%;
    position: absolute;
}

.fudong {
    animation: floatUpDown 4s ease-in-out infinite;
}

@keyframes floatUpDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}



.compute-item-wide:nth-child(1) {
    top: 70px;
    left: 30px;
    animation-duration: 4s;
    animation-delay: 0s;
}

.compute-item-wide:nth-child(2) {
    top: 125px;
    left: 140px;
    animation-duration: 5s;
    animation-delay: 0.5s;
}

.compute-item-wide:nth-child(3) {
    top: 150px;
    left: 290px;
    animation-duration: 4.5s;
    animation-delay: 1s;
}

.compute-item-wide:nth-child(4) {
    top: 150px;
    right: 290px;
    animation-duration: 5.5s;
    animation-delay: 0.3s;
}

.compute-item-wide:nth-child(5) {
    top: 125px;
    right: 140px;
    animation-duration: 4.2s;
    animation-delay: 0.8s;
}

.compute-item-wide:nth-child(6) {
    top: 70px;
    right: 30px;
    animation-duration: 4.8s;
    animation-delay: 0.2s;
}

@keyframes rotateScale {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.compute-inner-wide {
    position: absolute;
    z-index: 1;
    bottom: 30px;
    left: -2px;
}

.compute-inner-wide .compute-value {
    font-weight: bold;
    font-size: 24px;
    color: #ECCD6F;
    line-height: 26px;
    text-shadow: 0px 2px 3px #06223A;
    display: block;

}

.compute-inner-wide .compute-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.95);
    margin: 2px 0;
    font-weight: 500;
    width: 120px;
    font-size: 12px;
    color: rgba(255, 255, 255, 1);

}

.compute-inner-wide .compute-value i {
    font-size: 11px;
    font-size: 14px;
    color: rgba(255, 255, 255, .5);
    padding-left: 4px;
    font-style: normal;
    font-weight: normal;

}

/* 监控预警 */
.alert-monitor {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    background: none;
    border: 1px solid #1c6bc0;
    border-radius: 6px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 10;
}

.alert-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
    flex-shrink: 0;
}

.alert-title {
    font-size: 13px;
    color: #4fc3f7;
    font-weight: 600;
}

.alert-levels {
    display: flex;
    gap: 8px;
}

.level-item {
    display: flex;
    align-items: center;
    gap: 3px;
}

.level-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    animation: breathe 2s infinite;
}

@keyframes breathe {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.level-item.urgent .level-dot {
    background: var(--danger);
}

.level-item.severe .level-dot {
    background: #ff7875;
}

.level-item.general .level-dot {
    background: var(--warning);
}

.level-item.warning .level-dot {
    background: var(--info);
}

.level-name {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1;
}

.level-count {
    font-size: 11px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1;
}

.alert-table {
    flex: 1;
    /* 允许出现滚动条，防止最后一行被遮挡 */
    overflow: auto;
}

.alert-table table {
    width: 100%;
    border-collapse: collapse;
}

.alert-table th {
    padding: 2px 3px;
    background: none;
    border-bottom: 1px solid #1c6bc0;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.85);
    text-align: left;
    height: 20px;
}

.alert-table td {
    padding: 2px 3px;
    border-bottom: 1px solid #1c6bc0;
    font-size: 9px;
    color: rgba(255, 255, 255, 0.9);
    height: 20px;
}

.alert-type {
    padding: 0 3px;
    border-radius: 4px;
    font-size: 8px;
    color: white;
    font-weight: 600;
    line-height: 16px;
}

.alert-type.severe {
    background: #ff7875;
}

.btn-handle {
    padding: 1px 4px;
    background: #4fc3f7;
    border: none;
    border-radius: 2px;
    color: white;
    font-size: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-handle:hover {
    background: var(--secondary-blue);
    transform: scale(1.05);
}

/* 智能体建设模�?*/
.agent-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
}

.agent-category {
    width: 360px;
    height: 50px;
    background-size: 100% 100%;
    border-radius: 4px;
    padding: 0;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px 0 50px;
}

.agent-category-1 {
    background-image: url('../img/agent1.png');
}

.agent-category-2 {
    background-image: url('../img/agent2.png');
}

.agent-category-3 {
    background-image: url('../img/agent3.png');
}

.agent-category-4 {
    background-image: url('../img/agent4.png');
}

.agent-category:hover {
    transform: scale(1.02);
}

.agent-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.agent-title {
    font-size: 12px;
    color: white;
    font-weight: 600;
    margin-bottom: 2px;
}

.agent-count {
    font-size: 12px;
    color: white;
    font-weight: bold;
}

.agent-right {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 100%;
}

.agent-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 38px;
    background-color: #112F43;
    box-shadow: inset 0px 0px 5.3px 0px #13518F;
    border-radius: 4px;
}

.agent-label {
    font-size: 10px;
    color: white;
    opacity: 0.75;
    margin-bottom: 2px;
}

.agent-value {
    font-size: 12px;
    color: white;
    font-weight: bold;
}

/* 科创布局 */
.layout-module .module-body {
    padding: 8px;
    display: flex;
    gap: 12px;
    align-items: stretch;
    height: 130px;
    flex-direction: row;
    justify-content: space-between;
}

.tab-switcher {
    display: flex;
    gap: 4px;
    position: absolute;
    right: 10px;
    top: 46px;
}

.tab-btn {
    width: 60px;
    height: 21px;
    padding: 0;
    background: #050d26 url('../img/tab.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    border: none;
    font-size: 10px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: none;
}

.tab-btn.active {
    background-image: url('../img/tab_active.png');
}

.layout-chart {
    width: 160px;
    height: 160px;
    flex: none;
}

.layout-legend {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 181px;
    padding-top: 30px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
}

.legend-color {
    width: 6px;
    height: 6px;
    border-radius: 3px;
}

.legend-name {
    flex: 0.5;
    color: rgba(255, 255, 255, 0.85);

}

.legend-value {
    font-size: 13px;
    color: rgba(255, 255, 255, .75)
}

/* 区域分布 */
.distribution-module .module-body {
    padding: 8px;
}

.distribution-chart {
    height: 182px;
}

/* 四链融合 */
.fusion-module .module-body {
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fusion-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    height: 100%;
    align-content: center;
}

.fusion-item {
    padding: 12px 8px;
    background: rgba(30, 144, 255, 0.08);
    border: 1px solid rgba(30, 144, 255, 0.4);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.3s;
    min-height: 80px;
}

.fusion-item:hover {
    background: rgba(30, 144, 255, 0.15);
    transform: scale(1.05);
}

.fusion-icon {
    font-size: 26px;
}

.fusion-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;

}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(30, 144, 255, 0.1);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb {
    background: rgba(79, 195, 247, 0.5);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(79, 195, 247, 0.7);
}

/* ========== 防止文本选择和光�?========== */
* {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

/* 防止输入框编�?*/
input,
textarea,
[contenteditable] {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* 禁用所有输入框 */
input,
textarea,
[contenteditable] {
    pointer-events: none;
    background: transparent !important;
    border: none !important;
    outline: none !important;
}

/* ========== 性能优化 ========== */
/* 启用硬件加�?*/
.particle,
.holo-line,
.radar-sweep,
.orbit-dot,
.compute-item-wide,
.data-item-wide,
.chain-item-wide {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

.dot {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: rotateClockwise 8s linear infinite;
}

@keyframes rotateClockwise {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* 减少重绘的元�?*/
.module,
.indicator-card,
.cluster-card,
.industry-tag,
.coord-item,
.fusion-item {
    contain: layout style paint;
}

button,
.clickable-module,
.clickable-indicator,
.cluster-card,
.industry-tag,
.coord-item,
.fusion-item,
.agent-category,
.tab-btn,
.chain-item-wide,
.data-item-wide,
.compute-item-wide {
    cursor: pointer;
}

/* ========== 模态框样式 ========== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-container {
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    background: linear-gradient(135deg,
            rgba(15, 25, 45, 0.98) 0%,
            rgba(20, 35, 60, 0.95) 100%);
    border: 2px solid #3b97fd6b;
    border-radius: 12px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.5),
        inset 0 0 12px rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    position: relative;
    animation: slideUp 0.3s ease;
    overflow: hidden;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    padding: 20px 25px;
    background: linear-gradient(90deg,
            rgb(11 39 93) 0%,
            rgb(0 229 255 / 0%) 100%);
    border-bottom: 1px solid rgba(79, 195, 247, 0.4);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.modal-header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            rgba(79, 195, 247, 0.8),
            transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

.modal-title {
    font-size: 22px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: none;
    letter-spacing: 2px;
}

.modal-close {
    width: 36px;
    height: 36px;
    background: transparent;
    border: 1px solid rgba(79, 195, 247, 0.4);
    border-radius: 20%;
    color: #9fb2f994;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(79, 195, 247, 0.25);
    border-color: #4fc3f7;
    transform: rotate(90deg);
}

.modal-body {
    flex: 1;
    padding: 25px;
    overflow-y: auto;
    position: relative;
}

.modal-content {
    color: rgba(255, 255, 255, 0.95);
}

.modal-content h3 {
    color: #00bdff;
    margin-bottom: 15px;
    font-size: 17px;
    border-left: 3px solid #00bdff;
    padding-left: 10px;

}

.modal-content p {
    line-height: 1.8;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);

    font-size: 14px;
}

.modal-content .info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.modal-content .info-item {
    padding: 12px;
    background: rgba(30, 144, 255, 0.08);
    border: 1px solid rgba(79, 195, 247, 0.3);
    border-radius: 6px;
}

.modal-content .info-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 5px;

}

.modal-content .info-value {
    font-size: 19px;
    font-weight: bold;
    color: #4fc3f7;

}

.modal-content .chart-container {
    width: 100%;
    height: 300px;
    margin: 20px 0;
    border: 1px solid rgba(79, 195, 247, 0.3);
    border-radius: 6px;
    padding: 10px;
}

.modal-content img,
.modal-content video {
    width: 100%;
    border-radius: 6px;
    margin: 15px 0;
}

.modal-footer {
    padding: 15px 25px;
    background: rgba(79, 195, 247, 0);
    border-top: 1px solid rgba(79, 195, 247, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.status-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);

}

.modal-action-btn {
    padding: 8px 24px;
    background: linear-gradient(135deg, #1aaef0, #1349ed);
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.modal-action-btn:hover {
    transform: translateY(-2px);
}

/* 滚动条样�?*/
.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: #0B275D;
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #0B275D;
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(79, 195, 247, 0.7);
}

/* 可点击模块的视觉提示 */
.clickable-module:hover,
.clickable-indicator:hover {
    border-color: #4fc3f7 !important;
}

/* 可点击链�?*/
.clickable-link {
    cursor: pointer !important;
    transition: all 0.3s;
    position: relative;
}

.clickable-link:hover {
    color: #4fc3f7 !important;
    background: rgba(79, 195, 247, 0.25) !important;
    transform: scale(1.05);
}

/* 模态框中的链接 */
.modal-content a {
    transition: all 0.3s;
    color: #4fc3f7;

}

.modal-content a:hover {
    opacity: 0.8;
    text-decoration: underline !important;
}

/* ========== 移动端适配 ========== */
@media (max-width: 1024px) {
    body {
        overflow-y: auto;
        height: auto;
        min-height: 100dvh;
    }

    body::before {
        display: none;
    }

    .bg-animation {
        opacity: 0.18;
    }

    .cursor-trail-container {
        display: none;
    }

    .dashboard-container {
        height: auto;
        min-height: 100dvh;
        padding-bottom: 24px;
        overflow: visible;
    }

    .header-bar {
        flex-wrap: wrap;
        gap: 12px;
        height: auto;
        padding: 16px 18px;
        text-align: center;
        justify-content: center;
    }

    .header-center {
        order: 1;
        flex: 0 0 100%;
    }

    .header-left,
    .header-right {
        order: 2;
        flex: 1 1 50%;
        display: flex;
        align-items: center;
    }

    .header-left {
        display: none;
    }

    .header-right {
        flex: 1 1 100%;
        justify-content: flex-end;
        text-align: right;
    }

    .date {
        font-size: 12px;
    }

    .main-title {
        font-size: 22px;
        letter-spacing: 2px;
    }

    .main-content {
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding: 16px;
        height: auto;
        overflow: visible;
    }

    .left-panel,
    .center-panel,
    .right-panel {
        gap: 16px;
        height: auto;
        min-height: 0;
        min-width: 0;
        overflow: visible;
    }

    .center-panel {
        order: -1;
        gap: 12px;
    }

    .left-panel .cluster-module,
    .left-panel .innovation-module,
    .left-panel .transform-module,
    .left-panel .coordination-module,
    .right-panel .agent-module,
    .right-panel .layout-module,
    .right-panel .distribution-module,
    .right-panel .fusion-module {
        flex: initial;
    }

    .module {
        min-height: 0;
    }

    .module-body {
        flex: initial;
        overflow: visible;
    }

    .top-indicators {
        display: none;
    }

    .cluster-grid,
    .innovation-metrics,
    .industry-tags,
    .coordination-grid,
    .fusion-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cluster-process,
    .process-flow,
    .transform-flow,
    .attack-cards-horizontal,
    .transform-stats-horizontal {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .three-layer-container {
        padding: 14px 12px 10px;
        height: auto;
    }

    .layer-wrapper-wide {
        width: 100%;
        height: auto;
        margin-top: 0;
        gap: 16px;
    }

    .layer-top-wide,
    .layer-middle-wide,
    .layer-bottom-wide {
        width: 100%;
        height: auto;
        margin-top: 0;
        transform: none;
    }

    .layer-content-wide {
        padding: 16px 12px;
    }

    .chain-items-wide,
    .data-items-wide,
    .compute-items-wide {
        flex-wrap: wrap;
        gap: 12px;
        padding: 0;
        justify-content: center;
    }

    .data-items-wide {
        margin-top: 5px;
    }

    .chain-item-wide,
    .data-item-wide {
        width: calc(50% - 12px);
        max-width: none;
        height: 62px;
    }

    .item-inner-wide,
    .data-inner-wide {
        padding: 8px 6px;
    }

    .compute-item-wide {
        width: 90px;
        height: 90px;
    }

    .modal-container {
        width: 94%;
        max-height: 90vh;
    }
}

@media (max-width: 600px) {
    .header-bar {
        padding: 14px 12px;
    }

    .main-title {
        font-size: 20px;
        letter-spacing: 1px;
    }

    .main-content {
        padding: 12px;
        gap: 14px;
    }

    .top-indicators,
    .cluster-grid,
    .innovation-metrics,
    .industry-tags,
    .coordination-grid,
    .fusion-grid {
        grid-template-columns: 1fr;
    }

    .cluster-process,
    .process-flow,
    .transform-flow {
        gap: 6px;
    }

    .attack-cards-horizontal,
    .transform-stats-horizontal {
        flex-direction: column;
    }

    .chain-item-wide,
    .data-item-wide {
        width: 100%;
        height: 72px;
    }

    .data-items-wide {
        margin-top: 7px;
    }

    .compute-item-wide {
        width: 80px;
        height: 80px;
    }
}