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

body {
    font-family: Arial, sans-serif;
    color: #333;
    background-color: #f5f5f5;
}

/* 导航栏样式 */
header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 10px 0;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo img {
    height: 40px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

nav ul li a.active {
    background-color: #0979F1;
    color: white;
}

/* 通用部分样式 */
.section {
    display: none;
    min-height: 100vh;
}

.section.active {
    display: block;
}

.footer {
    text-align: center;
    padding: 20px;
    font-size: 14px;
    color: #666;
}

/* 首页样式 */
.hero-section {
    padding: 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    display: none;
}

.hero-section h1 {
    text-align: center;
    color: #333;
    margin-bottom: 40px;
    font-size: 36px;
    position: relative;
    z-index: 1;
}

.main-content {
    width: 100%;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 1;
}

.content-card {
    background: rgba(255,255,255,0.9);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 20px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.image-container {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.image-container img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 0;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.card-header h2 {
    color: #333;
    font-size: 24px;
}

.card-header h3 {
    color: #333;
    font-size: 20px;
}

.setting-btn {
    background-color: #FF9800;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.card-body {
    text-align: center;
}

.options {
    margin-bottom: 30px;
}

.options label {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
    cursor: pointer;
}

.options input[type="radio"] {
    margin-right: 8px;
}

.more-btn {
    display: inline-block;
    margin-top: 10px;
    color: #4CAF50;
    cursor: pointer;
    font-size: 14px;
    text-decoration: underline;
}

.start-btn {
    background-color: #0979F1;
    color: white;
    padding: 12px 32px;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.start-btn:hover {
    background-color: #0979F1;
    transform: translateY(-2px);
}

.note {
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}

/* 功能部分样式 */
.features-section {
    background: linear-gradient(135deg, #98FB98 0%, #87CEEB 100%);
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M0,30 Q25,0 50,30 T100,30" fill="none" stroke="rgba(255,255,255,0.3)" stroke-width="1"/></svg>');
    background-repeat: repeat-x;
    background-size: 100px 100px;
}

.training-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.training-item {
    background: rgba(255,255,255,0.8);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.training-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.training-item img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 10px;
}

.training-item p {
    font-size: 14px;
    color: #333;
}

.training-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.training-btn {
    background-color: #2196F3;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.training-btn:hover {
    background-color: #0b7dda;
    transform: translateY(-2px);
}

/* 下载页面样式 */
.download-section {
    background: url('res/download_bg.webp') no-repeat center center fixed;
    background-size: cover;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.logo-image {
    text-align: center;
    margin-bottom: 40px;
}

.logo-image img {
    max-width: 200px;
    height: auto;
}

.download-section h1 {
    text-align: center;
    color: #333;
    margin-bottom: 60px;
    font-size: 36px;
    position: relative;
    z-index: 1;
}

.download-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    position: relative;
    z-index: 1;
}

.download-card {
    background: rgba(255,255,255,0.9);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    width: 300px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.download-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.card-icon {
    margin-bottom: 20px;
}

.card-icon img {
    width: 80px;
    height: 80px;
}

.download-card h3 {
    color: #333;
    font-size: 20px;
    margin-bottom: 15px;
}

.download-card p {
    color: #666;
    font-size: 14px;
    margin-bottom: 25px;
    line-height: 1.5;
}

.download-btn, .download-btn:link, .download-btn:visited {
    background: linear-gradient(to bottom, #3AE1EA 0%, #2095E7 100%);
    color: white;
    padding: 12px 40px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(32, 149, 231, 0.3);
    text-decoration: none;
}

.download-btn::before {
    content: '↓';
    font-size: 18px;
    font-weight: bold;
}

.download-btn:hover, .download-btn:active {
    background: linear-gradient(to bottom, #2095E7 0%, #3AE1EA 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(32, 149, 231, 0.4);
    text-decoration: none;
    color: white;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        padding: 10px;
    }

    nav ul {
        margin-top: 15px;
    }

    nav ul li {
        margin: 0 10px;
    }

    .hero-section h1,
    .download-section h1 {
        font-size: 28px;
    }

    .training-items {
        grid-template-columns: repeat(2, 1fr);
    }

    .training-buttons {
        grid-template-columns: 1fr;
    }

    .download-content {
        flex-direction: column;
        align-items: center;
    }

    .download-card {
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .training-items {
        grid-template-columns: 1fr;
    }

    .content-card {
        padding: 15px;
    }

    .download-card {
        width: 100%;
        max-width: 300px;
        padding: 20px;
    }
}