/* 时间线样式 */
.timeline-container {
    position: relative;
    padding-bottom: 40px;
}

.timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    margin: 60px 0;
    padding: 0 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 50px;
    right: 50px;
    height: 4px;
    background: linear-gradient(to right, #888 0%, #f33030 50%, #28a745 100%);
}

.timeline-item {
    /* flex: 1; */
    text-align: center;
    position: relative;
    /* max-width: 250px; */
}

.timeline-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    font-weight: bold;
    position: relative;
    border: 4px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.timeline-item.past .timeline-circle {
    background: #888;
}

.timeline-item.present .timeline-circle {
    background: #f33030;
}

.timeline-item.future .timeline-circle {
    background: #28a745;
}

.timeline-item h4 {
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 18px;
}

.timeline-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    padding: 0 10px;
}

/* PDCA 流程样式 */
.pdca-flow {
    margin: 40px 0;
}

.pdca-steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.pdca-step {
    flex: 1;
    min-width: 200px;
    background: white;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border: 3px solid transparent;
}

.pdca-step:hover,
.pdca-step.active {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #f33030;
}

.pdca-step .step-icon {
    width: 60px;
    height: 60px;
    background: #f33030;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.pdca-step h5 {
    margin-bottom: 15px;
    font-weight: 600;
    color: #333;
}

.pdca-step p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.pdca-detail {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 30px;
    margin-top: 30px;
    display: none;
}

.pdca-detail.active {
    display: block;
    animation: fadeInUp 0.5s ease;
}

.pdca-detail img {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* 移动端PDCA优化 */
.pdca-mobile {
    display: none;
}

/* 用户案例样式 */
.story-case {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.story-case .case-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.story-case .case-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 20px;
    background: linear-gradient(135deg, #f33030, #ff6b6b);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    flex-shrink: 0;
}

.story-case .case-info h5 {
    margin: 0 0 5px 0;
    font-weight: 600;
}

.story-case .case-info p {
    margin: 0;
    color: #888;
    font-size: 14px;
}

.story-case .case-content {
    font-style: italic;
    line-height: 1.8;
    color: #555;
    flex: 1;
}

/* 种子用户计划弹窗样式 */
.seed-user-link {
    text-decoration: underline;
    cursor: pointer;
    color: green;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-content img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 4px;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    background: none;
    border: none;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: #f33030;
}

/* 响应式 */
@media (max-width: 768px) {
    .timeline {
        flex-direction: column;
        gap: 40px;
        padding: 0 40px;
        position: relative;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .timeline::before {
        width: 4px;
        height: calc(100% - 80px);
        left: 80px;
        top: 40px;
        background: linear-gradient(to bottom, #888 0%, #f33030 50%, #28a745 100%);
    }

    .timeline-item {
        max-width: none;
        width: 100%;
        max-width: 300px;
        display: flex;
        align-items: center;
        text-align: left;
        position: relative;
    }

    .timeline-circle {
        width: 80px;
        height: 80px;
        margin: 0 20px 0 0;
        flex-shrink: 0;
        position: relative;
    }

    .timeline-content {
        flex: 1;
        padding-left: 20px;
        text-align: center;
    }

    .timeline-content h4 {
        margin-bottom: 10px;
        font-size: 18px;
    }

    .timeline-content p {
        padding: 0;
        margin: 0;
    }

    .pdca-steps {
        flex-direction: column;
    }

    .pdca-step {
        min-width: auto;
        transform: none !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
        border: 1px solid #eee !important;
        padding: 20px 15px;
        margin-bottom: 0;
    }

    .pdca-step:hover,
    .pdca-step.active {
        transform: none !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
        border-color: #f33030 !important;
    }

    .pdca-step .step-icon {
        width: 50px;
        height: 50px;
        margin: 0 auto 15px;
        font-size: 20px;
    }

    .pdca-step h5 {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .pdca-step p {
        font-size: 13px;
        line-height: 1.4;
    }

    .pdca-detail {
        margin-top: 15px;
        padding: 20px;
    }

    .pdca-detail h4 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .pdca-detail p {
        font-size: 14px;
        line-height: 1.5;
    }

    /* 移动端折叠式PDCA */
    .pdca-mobile {
        display: block;
    }

    .pdca-mobile-item {
        display: block;
        background: white;
        border-radius: 8px;
        margin-bottom: 15px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        overflow: hidden;
    }

    .pdca-mobile-header {
        display: flex;
        align-items: center;
        padding: 20px;
        cursor: pointer;
        border-bottom: 1px solid #eee;
        transition: background 0.3s ease;
    }

    .pdca-mobile-header:hover,
    .pdca-mobile-header.active {
        background: #f8f9fa;
    }

    .pdca-mobile-icon {
        width: 50px;
        height: 50px;
        background: #f33030;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 15px;
        font-size: 20px;
        color: white;
        flex-shrink: 0;
    }

    .pdca-mobile-content {
        flex: 1;
    }

    .pdca-mobile-content h5 {
        margin: 0 0 5px 0;
        font-size: 16px;
        font-weight: 600;
        color: #333;
    }

    .pdca-mobile-content p {
        margin: 0;
        font-size: 13px;
        color: #666;
        line-height: 1.4;
    }

    .pdca-mobile-detail {
        padding: 0 20px 20px;
        display: none;
    }

    .pdca-mobile-detail.active {
        display: block;
        animation: fadeInUp 0.3s ease;
    }

    .pdca-mobile-detail img {
        width: 100%;
        border-radius: 6px;
        margin-bottom: 15px;
    }

    .pdca-mobile-detail h4 {
        font-size: 16px;
        margin-bottom: 10px;
        color: #333;
    }

    .pdca-mobile-detail ul {
        margin: 0;
        padding-left: 15px;
    }

    .pdca-mobile-detail li {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 5px;
        color: #555;
    }

    /* 隐藏PC版PDCA在移动端 */
    .pdca-flow .pdca-steps {
        display: none;
    }

    .pdca-flow .pdca-detail {
        display: none;
    }
}

/* PDCA可视化动画样式 */
.pdca-visual {
    width: 100%;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 20px;
}

/* Plan - 规划拆解可视化 */
.plan-visual {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.goal-breakdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.main-goal {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    position: relative;
    animation: goalPulse 3s ease-in-out infinite;
}

.breakdown-arrow {
    width: 3px;
    height: 15px;
    background: linear-gradient(to bottom, #667eea, #28a745);
    border-r    .analysis-badge span {
        font-size: 12px;
    }
    
    /* 移动端热度图适配 */
    .heatmap-header {
        font-size: 11px;
        padding: 5px 12px;
    }
    
    .heatmap-grid {
        max-width: 200px;
        gap: 2px;
        padding: 6px;
    }
    
    .heatmap-cell {
        width: 18px;
        height: 18px;
    }
    
    .legend-text {
        font-size: 12px;
    }
    
    .legend-cell {
        width: 10px;
        height: 10px;
    }
    
    .heatmap-stats {
        max-width: 200px;
        gap: 6px;
    }
    
    .stat-value {
        font-size: 11px;
        padding: 2px 6px;
    }
    
    .stat-label {
        font-size: 12px;
    }
}s: 2px;
    position: relative;
    animation: flowDown 2s ease-in-out infinite;
}

.breakdown-arrow::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 6px solid #28a745;
}

.sub-goals {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    max-width: 280px;
}

.sub-goal {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
    flex: 1;
    text-align: center;
    animation: subGoalAppear 2s ease-in-out infinite;
}

.sub-goal:nth-child(1) { animation-delay: 0.5s; }
.sub-goal:nth-child(2) { animation-delay: 1s; }
.sub-goal:nth-child(3) { animation-delay: 1.5s; }

/* OKR关键结果指标 */
.okr-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin-top: 10px;
}

.okr-arrow {
    width: 2px;
    height: 12px;
    background: linear-gradient(to bottom, #20c997, #ffc107);
    border-radius: 1px;
    animation: flowDown 2s ease-in-out infinite 0.5s;
}

.okr-indicators {
    display: flex;
    justify-content: space-around;
    gap: 6px;
    width: 100%;
    max-width: 300px;
}

.okr-item {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    box-shadow: 0 2px 6px rgba(255, 193, 7, 0.3);
    flex: 1;
    animation: okrMetrics 3s ease-in-out infinite;
}

.okr-item:nth-child(1) { animation-delay: 1s; }
.okr-item:nth-child(2) { animation-delay: 1.3s; }
.okr-item:nth-child(3) { animation-delay: 1.6s; }
.okr-item:nth-child(4) { animation-delay: 1.9s; }

/* Do - 执行跟踪可视化 */
.do-visual {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.execution-timeline {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 300px;
}

.task-node {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: white;
    font-weight: bold;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.task-node.completed {
    background: linear-gradient(135deg, #28a745, #20c997);
    animation: completedPulse 2s ease-in-out infinite;
}

.task-node.in-progress {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
    animation: progressSpin 3s linear infinite;
}

.task-node.pending {
    background: #e9ecef;
    color: #6c757d;
    animation: pendingBlink 2s ease-in-out infinite;
}

.timeline-connector {
    flex: 1;
    height: 3px;
    background: linear-gradient(to right, #28a745, #ffc107, #e9ecef);
    border-radius: 2px;
    position: relative;
}

.progress-indicator {
    background: #e9ecef;
    border-radius: 8px;
    height: 16px;
    width: 100%;
    max-width: 220px;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 8px;
    width: 0%;
    animation: progressFill 4s ease-in-out infinite;
    position: relative;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    font-weight: bold;
    color: #495057;
}

/* SOP标准执行流程 */
.sop-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin-top: 10px;
}

.sop-badge {
    background: linear-gradient(135deg, #6f42c1, #563d7c);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(111, 66, 193, 0.3);
    animation: sopPulse 3s ease-in-out infinite;
}

.sop-steps {
    display: flex;
    justify-content: space-between;
    gap: 4px;
    width: 100%;
    max-width: 280px;
}

.sop-step {
    background: #f8f9fa;
    border: 2px solid #6f42c1;
    color: #6f42c1;
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    flex: 1;
    animation: sopStepFlow 4s ease-in-out infinite;
}

.sop-step:nth-child(1) { animation-delay: 0.5s; }
.sop-step:nth-child(2) { animation-delay: 1s; }
.sop-step:nth-child(3) { animation-delay: 1.5s; }
.sop-step:nth-child(4) { animation-delay: 2s; }
.sop-step:nth-child(5) { animation-delay: 2.5s; }

/* Check - 数据分析可视化 */
.check-visual {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* 新增数据仪表盘样式 */
.data-dashboard {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
}

/* 每日执行热度图 */
.heatmap-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin-top: 15px;
}

.heatmap-header {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

.heatmap-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
    width: 100%;
    max-width: 240px;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px solid #e9ecef;
}

.heatmap-cell {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
}

.heatmap-cell.level-0 {
    background: #ebedf0;
    animation: heatmapPulse 3s ease-in-out infinite;
}

.heatmap-cell.level-1 {
    background: #c6e48b;
    animation: heatmapPulse 3s ease-in-out infinite 0.2s;
}

.heatmap-cell.level-2 {
    background: #7bc96f;
    animation: heatmapPulse 3s ease-in-out infinite 0.4s;
}

.heatmap-cell.level-3 {
    background: #239a3b;
    animation: heatmapPulse 3s ease-in-out infinite 0.6s;
}

.heatmap-cell.level-4 {
    background: #196127;
    animation: heatmapPulse 3s ease-in-out infinite 0.8s;
}

.heatmap-legend {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: #6c757d;
}

.legend-text {
    font-size: 12px;
}

.legend-scale {
    display: flex;
    gap: 2px;
}

.legend-cell {
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

.heatmap-stats {
    display: flex;
    justify-content: space-around;
    gap: 8px;
    width: 100%;
    max-width: 240px;
    margin-top: 8px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.stat-value {
    background: linear-gradient(135deg, #17a2b8, #138496);
    color: white;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: bold;
    animation: statCount 3s ease-in-out infinite;
}

.stat-label {
    font-size: 12px;
    color: #6c757d;
    text-align: center;
}

.dashboard-header {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #17a2b8, #138496);
    color: white;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(23, 162, 184, 0.3);
}

.chart-container {
    display: flex;
    justify-content: space-around;
    gap: 12px;
    width: 100%;
    max-width: 280px;
}

.chart-bar {
    position: relative;
    width: 20px;
    background: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.bar-fill {
    width: 100%;
    background: linear-gradient(to top, #fd7e14, #ffc107);
    border-radius: 10px;
    height: 100%;
    animation: chartGrow 3s ease-in-out infinite;
}

.bar-label {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: #6c757d;
    text-align: center;
    white-space: nowrap;
}

.analysis-badge {
    background: linear-gradient(135deg, #6f42c1, #563d7c);
    color: white;
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 3px 10px rgba(111, 66, 193, 0.3);
    animation: insightGlow 3s ease-in-out infinite;
}

/* 保留原有数据图表样式（用于向后兼容） */
.data-charts {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    width: 100%;
    max-width: 280px;
}

.chart-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.chart-bar {
    width: 20px;
    background: #e9ecef;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.chart-fill {
    width: 100%;
    background: linear-gradient(to top, #fd7e14, #ffc107);
    border-radius: 10px;
    animation: chartGrow 3s ease-in-out infinite;
}

.chart-item:nth-child(1) .chart-bar { height: 60px; }
.chart-item:nth-child(2) .chart-bar { height: 80px; }
.chart-item:nth-child(3) .chart-bar { height: 50px; }
.chart-item:nth-child(4) .chart-bar { height: 70px; }

.chart-item:nth-child(1) .chart-fill { animation-delay: 0.5s; }
.chart-item:nth-child(2) .chart-fill { animation-delay: 1s; }
.chart-item:nth-child(3) .chart-fill { animation-delay: 1.5s; }
.chart-item:nth-child(4) .chart-fill { animation-delay: 2s; }

.chart-label {
    font-size: 12px;
    color: #6c757d;
    text-align: center;
}

.analysis-insight {
    background: linear-gradient(135deg, #6f42c1, #563d7c);
    color: white;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 16px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(111, 66, 193, 0.3);
    animation: insightGlow 3s ease-in-out infinite;
}

/* Act - 复盘优化可视化 */
.act-visual {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.cycle-container {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cycle-ring {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 3px solid #e9ecef;
    border-radius: 50%;
    border-top-color: #dc3545;
    border-right-color: #ffc107;
    border-bottom-color: #28a745;
    border-left-color: #17a2b8;
    animation: cycleRotate 4s linear infinite;
}

.cycle-center {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: white;
    font-weight: bold;
    z-index: 2;
    animation: centerPulse 2s ease-in-out infinite;
}

.cycle-indicators {
    position: absolute;
    width: 100%;
    height: 100%;
}

.cycle-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: dotFlow 4s ease-in-out infinite;
}

.cycle-dot.dot-1 {
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    background: #dc3545;
    animation-delay: 0s;
}

.cycle-dot.dot-2 {
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    background: #ffc107;
    animation-delay: 1s;
}

.cycle-dot.dot-3 {
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    background: #28a745;
    animation-delay: 2s;
}

.cycle-dot.dot-4 {
    top: 50%;
    left: -6px;
    transform: translateY(-50%);
    background: #17a2b8;
    animation-delay: 3s;
}

.improvement-metrics {
    display: flex;
    justify-content: space-around;
    gap: 8px;
    width: 100%;
    max-width: 280px;
}

.metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.metric-value {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: bold;
    animation: metricCount 3s ease-in-out infinite;
}

.metric-label {
    font-size: 12px;
    color: #6c757d;
    text-align: center;
}

.metric-item:nth-child(1) .metric-value { animation-delay: 0.5s; }
.metric-item:nth-child(2) .metric-value { animation-delay: 1s; }
.metric-item:nth-child(3) .metric-value { animation-delay: 1.5s; }

.improvement-badge {
    background: linear-gradient(135deg, #fd7e14, #ffc107);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 3px 10px rgba(253, 126, 20, 0.3);
    animation: improvementFloat 3s ease-in-out infinite;
}

/* 动画定义 */
@keyframes goalPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3); }
    50% { transform: scale(1.05); box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5); }
}

@keyframes flowDown {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

@keyframes subGoalAppear {
    0%, 80% { opacity: 0.5; transform: scale(0.9); }
    90%, 100% { opacity: 1; transform: scale(1); }
}

@keyframes okrMetrics {
    0%, 85% { opacity: 0.6; transform: scale(0.95); }
    90%, 100% { opacity: 1; transform: scale(1); }
}

@keyframes sopPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 2px 8px rgba(111, 66, 193, 0.3); }
    50% { transform: scale(1.05); box-shadow: 0 3px 12px rgba(111, 66, 193, 0.5); }
}

@keyframes sopStepFlow {
    0%, 80% { 
        background: #f8f9fa; 
        border-color: #e9ecef;
        color: #6c757d;
    }
    85%, 100% { 
        background: rgba(111, 66, 193, 0.1); 
        border-color: #6f42c1;
        color: #6f42c1;
    }
}

@keyframes cycleRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes centerPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes dotFlow {
    0%, 100% { 
        opacity: 0.3; 
        transform: scale(0.8); 
    }
    25% { 
        opacity: 1; 
        transform: scale(1.2); 
    }
    50% { 
        opacity: 0.6; 
        transform: scale(1); 
    }
}

@keyframes metricCount {
    0%, 70% { opacity: 0.6; transform: scale(0.9); }
    80%, 100% { opacity: 1; transform: scale(1.1); }
}

@keyframes completedPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes progressSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pendingBlink {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes progressFill {
    0% { width: 0%; }
    50% { width: 75%; }
    100% { width: 75%; }
}

@keyframes chartGrow {
    0% { height: 0%; }
    50%, 100% { height: 100%; }
}

@keyframes insightGlow {
    0%, 100% { box-shadow: 0 4px 15px rgba(111, 66, 193, 0.3); }
    50% { box-shadow: 0 6px 25px rgba(111, 66, 193, 0.6); }
}

@keyframes currentStep {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes nextStep {
    0%, 100% { opacity: 0.7; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1); }
}

@keyframes arrowFlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes improvementFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

/* 热度图动画 */
@keyframes heatmapPulse {
    0%, 100% { 
        opacity: 0.8; 
        transform: scale(1); 
    }
    50% { 
        opacity: 1; 
        transform: scale(1.1); 
    }
}

@keyframes statCount {
    0%, 70% { 
        opacity: 0.7; 
        transform: scale(0.9); 
    }
    80%, 100% { 
        opacity: 1; 
        transform: scale(1); 
    }
}

/* 响应式适配 */
@media (max-width: 768px) {
    .pdca-visual {
        padding: 15px;
        min-height: 130px;
    }
    
    .main-goal {
        font-size: 14px;
        padding: 10px 16px;
    }
    
    .sub-goals {
        max-width: 220px;
        gap: 6px;
    }
    
    .sub-goal {
        font-size: 11px;
        padding: 5px 8px;
    }
    
    .okr-indicators {
        max-width: 240px;
        gap: 4px;
    }
    
    .okr-item {
        font-size: 12px;
        padding: 3px 6px;
    }
    
    .execution-timeline {
        max-width: 250px;
        gap: 10px;
    }
    
    .task-node {
        width: 30px;
        height: 30px;
        font-size: 11px;
    }
    
    .progress-indicator {
        max-width: 180px;
        height: 14px;
    }
    
    .progress-text {
        font-size: 11px;
    }
    
    .sop-steps {
        max-width: 240px;
        gap: 3px;
    }
    
    .sop-step {
        font-size: 11px;
        padding: 2px 4px;
    }
    
    .data-charts {
        max-width: 200px;
        gap: 10px;
    }
    
    .chart-container {
        max-width: 220px;
        gap: 8px;
    }
    
    .chart-bar {
        width: 14px;
    }
    
    .dashboard-header {
        font-size: 11px;
        padding: 6px 12px;
    }
    
    .bar-label {
        font-size: 11px;
        bottom: -18px;
    }
    
    .analysis-badge {
        font-size: 11px;
        padding: 6px 12px;
    }
    
    .cycle-container {
        width: 100px;
        height: 100px;
    }
    
    .cycle-ring {
        width: 80px;
        height: 80px;
        border-width: 2px;
    }
    
    .cycle-center {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .cycle-dot {
        width: 10px;
        height: 10px;
    }
    
    .improvement-metrics {
        max-width: 220px;
        gap: 6px;
    }
    
    .metric-value {
        font-size: 11px;
        padding: 3px 6px;
    }
    
    .metric-label {
        font-size: 11px;
    }
    
    .improvement-badge {
        font-size: 11px;
        padding: 5px 10px;
    }
    
    /* 移动端新增元素样式 */
    .dashboard-header span {
        font-size: 11px;
    }
    
    .bar-label {
        font-size: 11px;
    }
    
    .analysis-badge span {
        font-size: 11px;
    }
}

