/* 进度条容器 - 确保最高优先级 */
#progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(0, 0, 0, 0.05);
    z-index: 2147483647; /* 最大z-index值 */
    pointer-events: none;
    overflow: hidden;
}

/* 进度条本身 - 纯色版本 */
#progress-bar {
    position: absolute;
    height: 100%;
    width: 0%;
    background: #3399ff; /* 使用单一的纯蓝色代替渐变 */
    transition: width 0.4s cubic-bezier(0.65, 0, 0.35, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    will-change: width;
}

/* 进度百分比 */
#progress-percent {
    position: absolute;
    right: 12px;
    top: 10px;
    color: #333;
    font-size: 12px;
    font-weight: bold;
    text-shadow: 0 0 2px white;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

/* 完成状态 */
#progress-container.complete #progress-bar {
    width: 100% !important;
    background: #4CAF50; /* 保持完成状态为绿色，可根据需要修改 */
}

#progress-container.complete #progress-percent {
    opacity: 0;
}

/* 隐藏状态 */
#progress-container.hide {
    opacity: 0;
    transition: opacity 0.6s ease 0.3s;
}

/* 内容样式 */
.content {
    padding: 20px;
    margin-top: 30px;
    max-width: 800px;
    margin: 0 auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

h1 {
    color: #2c3e50;
    margin-top: 50px;
}

p {
    line-height: 1.6;
    color: #34495e;
}

.content-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.features {
    display: flex;
    flex-wrap: wrap;
    margin: 30px 0;
    gap: 20px;
}

.feature-card {
    flex: 1;
    min-width: 200px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.code-block {
    background: #2d2d2d;
    color: #f8f8f2;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin: 20px 0;
    font-family: 'Consolas', monospace;
}