
/* 全局样式设置，使用盒模型和字体 */
* {
    box-sizing: border-box; /* 统一盒模型 */
    margin: 0;
    padding: 0;
}

/* 设置页面的字体和背景渐变 */
body {
    font-family: 'Roboto', sans-serif; /* 使用Roboto字体 */
    background: linear-gradient(135deg, #0A2463, #1E90FF); /* 渐变背景 */
    color: #FFFFFF; /* 文字颜色为白色 */
    line-height: 1.6;
    overflow-x: hidden; /* 禁止水平滚动 */
}

/* 导航栏样式 */
.navigation {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(10, 36, 99, 0.9); /* 半透明背景 */
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 阴影效果 */
}

.navigation a {
    color: #FFFFFF;
    text-decoration: none;
    margin: 0 15px;
    font-size: 16px;
    transition: color 0.3s;
}

.navigation a:hover {
    color: #FFA500; /* 橙色悬停效果 */
}

/* 主视觉区样式 */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: url('https://images.gptkong.com/demo/sample1.png') no-repeat center center/cover; /* 背景图 */
    position: relative;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 36, 99, 0.6); /* 叠加层 */
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.hero p {
    font-size: 18px;
    max-width: 600px;
    margin-bottom: 30px;
}

.hero .button {
    background-color: #FFA500;
    border: none;
    padding: 15px 30px;
    color: #FFFFFF;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
}

.hero .button:hover {
    background-color: #FF8C00;
    transform: scale(1.05);
}

/* 章节导航样式 */
.section-nav {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.section-nav a {
    background-color: #FFA500;
    color: #FFFFFF;
    padding: 10px 15px;
    margin: 5px 0;
    border-radius: 50%;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s, transform 0.3s;
}

.section-nav a:hover {
    background-color: #FF8C00;
    transform: scale(1.2);
}

/* 主要内容区样式 */
.main-content {
    padding: 100px 20px 50px; /* 顶部留出导航栏空间 */
    max-width: 1200px;
    margin: 0 auto;
}

.main-content h2, .main-content h3, .main-content h4 {
    color: #FFFFFF;
    margin-bottom: 20px;
}

.main-content h2 {
    font-size: 32px;
    border-bottom: 2px solid #FFA500;
    padding-bottom: 10px;
}

.main-content h3 {
    font-size: 24px;
    margin-top: 30px;
}

.main-content p {
    font-size: 16px;
    margin-bottom: 15px;
    text-align: justify;
}

.main-content img {
    width: 100%;
    max-width: 320px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    margin: 20px 0;
}

.main-content img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.5);
}

/* 按钮样式 */
.button {
    background-color: #FFA500;
    border: none;
    padding: 10px 20px;
    color: #FFFFFF;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
}

.button:hover {
    background-color: #FF8C00;
    transform: scale(1.05);
}

.button:active {
    transform: scale(0.95);
    background-color: #FF8C00;
}

/* 图表容器样式 */
.chart-container {
    width: 100%;
    height: 400px;
    background: #1E90FF;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
}

.chart-container:hover {
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

/* 加载指示器样式 */
.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #1E90FF;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navigation {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .section-nav {
        display: none; /* 移动端隐藏章节导航 */
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 24px;
    }
    
    .hero p {
        font-size: 14px;
    }
    
    .button {
        padding: 8px 16px;
        font-size: 14px;
    }
}

/* 合作伙伴区样式 */
.partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 50px 0;
}

.partner-logo {
    width: 150px;
    height: 150px;
    background: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.partner-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

/* 用户评价区样式 */
.testimonials {
    background: rgba(255, 255, 255, 0.1); /* 半透明背景 */
    padding: 50px 20px;
    border-radius: 10px;
    margin: 50px 0;
}

.testimonials .testimonial {
    margin-bottom: 30px;
}

.testimonials .testimonial p {
    font-style: italic;
}

.testimonials .testimonial .author {
    text-align: right;
    font-weight: bold;
    margin-top: 10px;
}

/* 底部信息区样式 */
.footer {
    background-color: rgba(10, 36, 99, 0.9);
    padding: 20px;
    text-align: center;
    color: #FFFFFF;
}

.footer a {
    color: #FFA500;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s;
}

.footer a:hover {
    color: #FF8C00;
}

/* 过渡平滑滚动 */
html {
    scroll-behavior: smooth;
}

