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

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    overflow-y: scroll;
}

/* 隐藏滚动条但保持可滚动 */
body::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部导航 */
.header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo h1 {
    color: #409EFF;
    font-size: 24px;
}

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

.nav ul li {
    margin-left: 30px;
}

.nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav ul li a:hover,
.nav ul li a.active {
    color: #409EFF;
}

/* 主内容区域 */
.main-content {
    min-height: calc(100vh - 120px);
}

.section {
    padding: 60px 0;
}

.section:nth-child(even) {
    background-color: #fff;
}

.section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    font-size: 28px;
}

/* 功能概述 */
.feature-content {
    max-width: 800px;
    margin: 0 auto;
}

.feature-content p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

.system-requirements {
    background: #f0f9ff;
    border-left: 4px solid #409EFF;
    padding: 20px;
    margin: 20px 0;
    border-radius: 4px;
}

.system-requirements h3 {
    color: #409EFF;
    margin-bottom: 15px;
    font-size: 20px;
}

.system-requirements ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 15px;
}

.system-requirements ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #555;
}

.system-requirements ul li:before {
    content: "✓";
    color: #67C23A;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.warning-tip {
    background: #fef0f0;
    border: 1px solid #fbc4c4;
    color: #f56c6c;
    padding: 12px 15px;
    border-radius: 4px;
    margin-top: 15px;
    font-weight: 500;
}

.feature-list {
    list-style: none;
    padding-left: 20px;
}

.feature-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.feature-list li:before {
    content: "•";
    color: #409EFF;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* 学校学院码搜索 */
.search-container {
    max-width: 600px;
    margin: 0 auto 30px;
    position: relative;
}

#schoolSearch {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #ddd;
    border-radius: 25px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}

#schoolSearch:focus {
    border-color: #409EFF;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 10px 10px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 100;
    display: none;
}

.selected-school {
    max-width: 600px;
    margin: 30px auto 20px;
    padding: 20px;
    background: #f0f9ff;
    border-radius: 8px;
    border-left: 4px solid #409EFF;
}

.selected-school h3 {
    color: #409EFF;
    margin-bottom: 15px;
    font-size: 20px;
}

#collegeSearch {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid #ddd;
    border-radius: 20px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

#collegeSearch:focus {
    border-color: #409EFF;
}

.search-result-item {
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.search-result-item:hover {
    background-color: #f0f9ff;
}

.college-list {
    max-width: 1000px;
    margin: 0 auto;
}

.college-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.college-item h4 {
    color: #409EFF;
    margin-bottom: 10px;
}

.college-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.college-code {
    font-weight: bold;
    color: #67C23A;
}

.college-standard {
    color: #666;
}

.college-standard a {
    color: #409EFF;
    text-decoration: none;
}

.college-standard a:hover {
    text-decoration: underline;
}

.show-more-btn {
    text-align: center;
    padding: 15px;
    margin-top: 10px;
    background: #fff;
    border: 2px dashed #409EFF;
    border-radius: 8px;
    color: #409EFF;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.show-more-btn:hover {
    background: #f0f9ff;
    border-style: solid;
}

/* 常见问题 */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.faq-item h3 {
    color: #409EFF;
    margin-bottom: 10px;
    font-size: 18px;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

/* 下载部分 */
.download-content {
    text-align: center;
    padding: 40px 20px;
    background: #f5f7fa;
    border: 2px solid #409EFF;
    border-radius: 12px;
    margin-top: 30px;
}

.download-content p {
    color: #333;
    font-size: 18px;
    margin-bottom: 30px;
    font-weight: 500;
}

.download-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.download-btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: #409EFF;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s;
    min-width: 180px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(64, 158, 255, 0.3);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(64, 158, 255, 0.4);
    background-color: #337ecc;
}

.download-btn-wrapper {
    position: relative;
    display: inline-block;
}

.version-badge {
    position: absolute;
    bottom: 0;
    right: -15px;
    font-size: 11px;
    color: #67C23A;
    background: #fff;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* 注册码联系方式 */
.contact-info {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    background: #f5f7fa;
    border: 2px solid #409EFF;
    border-radius: 12px;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    font-size: 16px;
}

.contact-item strong {
    color: #409EFF;
    min-width: 80px;
    font-weight: 600;
}

.contact-item span {
    color: #666;
}

/* 带二维码的联系项 */
.contact-qr-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.contact-text {
    width: 100%;
    text-align: center;
}

/* 二维码容器 */
.qr-code-container {
    text-align: center;
    padding: 15px;
    background: #f9fafb;
    border-radius: 8px;
    border: 2px dashed #409EFF;
}

.qr-code-img {
    max-width: 180px;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
}

.qr-code-img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(64, 158, 255, 0.3);
}

.qr-tip {
    margin-top: 10px;
    margin-bottom: 0;
    color: #409EFF;
    font-size: 14px;
    font-weight: 500;
}

/* 底部 */
.footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.footer a {
    color: #409EFF;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* 为主内容添加底部内边距，防止被固定页脚遮挡 */
.main-content {
    min-height: calc(100vh - 120px);
    padding-bottom: 80px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        padding: 10px;
    }
    
    .nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav ul li {
        margin: 5px 10px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section h2 {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
    }
    
    .download-links {
        gap: 15px;
    }
    
    .download-btn {
        min-width: 120px;
        padding: 10px 20px;
    }
}

/* 屏幕阅读器专用类 */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}