* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--md-sys-color-background);
    color: var(--md-sys-color-on-background);
    overflow-x: hidden;
    height: 100vh;
    scroll-behavior: smooth;
}

#presentation-container {
    width: 100vw;
    overflow: visible;
    position: relative;
}

.slide {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    position: relative;
    scroll-snap-align: start;
}

.slide-header {
    margin-bottom: 1.5rem;
    position: relative;
}

.slide-title {
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--md-sys-color-primary);
    margin-bottom: 0.5rem;
}

.slide-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--md-sys-color-secondary);
    margin-bottom: 1rem;
}

.slide-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card {
    background-color: var(--md-sys-color-surface);
    border-radius: var(--md-sys-shape-corner-medium);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--md-sys-elevation-level2);
}

.two-column {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.column {
    flex: 1;
    min-width: 250px;
}

/* 导航样式 */
.navigation {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 100;
    display: flex;
    gap: 0.5rem;
}

.nav-button {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: var(--md-sys-color-primary);
    color: var(--md-sys-color-on-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: var(--md-sys-elevation-level2);
    border: none;
    transition: background-color 0.3s ease;
}

.nav-button:hover {
    background-color: #00553F;
}

.progress-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 0%;
    background-color: var(--md-sys-color-primary);
    transition: width 0.3s ease-in-out;
    z-index: 100;
}

.slide-counter {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    font-size: 0.875rem;
    color: var(--md-sys-color-on-surface-variant);
    z-index: 100;
}

/* 滚动容器样式 */
#scroll-container {
    height: 100vh;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .slide-title {
        font-size: 2rem;
    }
    
    .slide-subtitle {
        font-size: 1.25rem;
    }
    
    .two-column {
        flex-direction: column;
    }
    
    .navigation {
        bottom: 0.5rem;
        right: 0.5rem;
    }
    
    .nav-button {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .slide-counter {
        bottom: 0.5rem;
        left: 0.5rem;
    }
}
 /* 图表标题和描述 */
 .chart-title {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--md-sys-color-on-surface);
    margin-bottom: 10px;
}

.chart-description {
    font-size: 0.9rem;
    color: var(--md-sys-color-on-surface-variant);
    margin-bottom: 20px;
}

/* SVG 图表样式 */
svg {
    width: 100%;
    height: auto;
    overflow: visible;
}

/* 柱状图样式 */
.bar {
    transition: opacity 0.3s ease;
}

.bar:hover {
    opacity: 0.8;
}

/* 饼图样式 */
.pie-slice {
    transition: transform 0.3s ease;
}

.pie-slice:hover {
    transform: translateX(10px);
}

/* 图例样式 */
.legend {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}

.legend-item {
    display: flex;
    align-items: center;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    margin-right: 8px;
}

.legend-label {
    font-size: 0.9rem;
    color: var(--md-sys-color-on-surface-variant);
}

/* 标签样式 */
.axis text {
    font-size: 12px;
    fill: var(--md-sys-color-on-surface-variant);
}

.axis line,
.axis path {
    stroke: var(--md-sys-color-outline);
    stroke-width: 1;
}

.grid line {
    stroke: #E0E0E0;
    stroke-width: 1;
    stroke-dasharray: 4,4;
}

/* 数值标签 */
.data-label {
    font-size: 12px;
    font-weight: 500;
    text-anchor: middle;
}