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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

body.index-page {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

body.index-page .home-container {
    text-align: center;
    padding: 50px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
    max-width: 800px;
    width: 90%;
    margin: 0 auto;
}

body.index-page .logo {
    width: 150px;
    height: 150px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

body.index-page .title {
    font-size: 2.0rem;
    font-weight: bold;
    color: #000000;
    margin-bottom: 30px;
    letter-spacing: 1px;
}


body.index-page .buttons-section {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 30px;
    width: 100%;
}

body.index-page .btn-transparent {
    flex: 1;
    padding: 14px 20px;
    border: 1.5px solid #007bff;
    border-radius: 32px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    text-align: center;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #007bff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    min-width: 180px;
}

/* Existing styles (partial, only showing relevant section with changes) */
body.index-page .abstract {
    font-family: 'Microsoft YaHei', '微软雅黑', sans-serif;
    font-size: 1rem; /* From previous adjustment */
    font-weight: bold;
    color: #000000;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 60px;
    padding: 0 20px;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    overflow-wrap: break-word;
}

@media (max-width: 768px) {
    body.index-page .abstract {
        font-size: 1.1rem;
        padding: 0 10px;
        hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        overflow-wrap: break-word;
    }
}

@media (max-width: 600px) {
    body.index-page .abstract {
        font-size: 1rem;
        hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        overflow-wrap: break-word;
    }
}

@media (max-width: 400px) {
    body.index-page .abstract {
        font-size: 0.95rem;
        hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        overflow-wrap: break-word;
    }
}

body.index-page .btn-transparent:hover {
    background: linear-gradient(135deg, #007bff 0%, #17a2b8 100%);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(0,123,255,0.2);
    transform: translateY(-2px);
}

body.index-page .btn-transparent::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

body.index-page .btn-transparent:hover::before {
    opacity: 1;
}

body.index-page .btn-transparent:active {
    transform: scale(0.98);
}

.logo-section {
    margin-top: 50px;
}

.logo {
    width: 300px;
    height: 300px;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.15));
}

.title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #000000;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.buttons-section {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 35px;
}

/* 非首页页面的按钮样式 */
.page-container .btn-transparent {
    padding: 12px 24px;
    border: 1.5px solid #007bff;
    border-radius: 32px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    text-align: center;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #333;
    position: relative;
    overflow: hidden;
    min-width: 140px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

/* 非首页按钮悬停效果 */
.page-container .btn-transparent:hover {
    background: linear-gradient(135deg, #007bff 0%, #17a2b8 100%);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(0,123,255,0.2);
    transform: translateY(-2px);
}

/* 非首页按钮伪元素渐变效果 */
.page-container .btn-transparent::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.page-container .btn-transparent:hover::before {
    opacity: 1;
}

/* 非首页按钮点击效果 */
.page-container .btn-transparent:active {
    transform: scale(0.98);
}

/* 移除 .btn 样式，统一使用 .btn-transparent */
.btn {
    display: inline-block;
    text-align: center;
    cursor: pointer;
}

/* 响应式设计 */
@media (max-width: 768px) {
    body.index-page .home-container {
        padding: 40px 30px;
    }

    body.index-page .title {
        font-size: 2.3rem;
    }

    body.index-page .abstract {
        font-size: 1rem;
        padding: 0 10px;
    }

    body.index-page .buttons-section {
        flex-direction: column;
        gap: 15px;
    }

    body.index-page .btn-transparent {
        min-width: auto;
    }
}

@media (max-width: 600px) {
    body.index-page .home-container {
        padding: 35px 25px;
    }

    body.index-page .logo {
        width: 120px;
        height: 120px;
    }

    body.index-page .title {
        font-size: 2rem;
    }

    body.index-page .abstract {
        font-size: 0.95rem;
    }
}

@media (max-width: 400px) {
    body.index-page .home-container {
        padding: 30px 20px;
    }

    body.index-page .logo {
        width: 100px;
        height: 100px;
    }

    body.index-page .title {
        font-size: 1.8rem;
    }

    body.index-page .abstract {
        font-size: 0.9rem;
    }
}

.page-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.page-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 5px;
    background-color: #007bff;
}

.page-header h1 {
    color: #007bff;
    font-size: 2rem;
    margin-bottom: 20px;
}

.controls-section {
    display: flex;
    justify-content: center;
    gap: 200px;
    flex-wrap: wrap;
    margin-top: 30px;
    position: relative;
    padding-top: 50px;
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.controls-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 5px;
    background-color: #007bff;
}

@media (max-width: 1020px) {
    .page-header::after,
    .controls-section::before {
        width: 90vw;
    }
}

.models-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    justify-items: center;
    max-width: 1000px;
    width: 100%;
}

.progress-section {
    margin-top: 30px;
    text-align: center;
}

.progress-bar {
    width: 100%;
    height: 15px;
    background-color: #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background-color: #007bff;
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.85rem;
    color: #6c757d;
}

.section {
    margin-bottom: 50px;
    padding: 20px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.section-title {
    color: #007bff;
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.data-table th,
.data-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.data-table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.charts-grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.chart-container {
    height: 300px;
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.centered-chart {
    height: 400px;
    max-width: 800px;
    margin: 0 auto;
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.documentation-content {
    max-width: 800px;
    margin: 0 auto;
}

.api-section {
    margin-bottom: 30px;
}

.endpoint {
    display: flex;
    align-items: center;
    padding: 15px;
    margin: 10px 0;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.method {
    background-color: #007bff;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: bold;
    margin-right: 15px;
    min-width: 60px;
    text-align: center;
}

.path {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    color: #007bff;
    margin-right: 15px;
    flex: 1;
}

.description {
    color: #6c757d;
}

.code-block {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}