
/* 全局样式设定 */
/* 设置页面的基本字体、背景和颜色 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0d47a1 70%, #424242 25%, #FFD700 5%);
    color: #FFFFFF;
    overflow-x: hidden;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    z-index: 1000;
}

.navbar a {
    color: #FFFFFF;
    text-decoration: none;
    margin: 0 1rem;
    font-size: 16px;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: #FFD700;
}

/* 主要内容区的样式 */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 100px 20px 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* 顶部引导区样式 */
.intro-section {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    text-align: center;
}

.intro-section h1 {
    font-size: 36px;
    margin-bottom: 1rem;
    color: #FFD700;
}

.intro-section p {
    font-size: 18px;
    line-height: 1.6;
}

/* 服务介绍区样式 */
.services-section {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.service-card img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.service-card img:hover {
    transform: scale(1.05);
}

.service-card h3 {
    margin-top: 1rem;
    font-size: 20px;
    color: #FFD700;
}

.service-card p {
    font-size: 16px;
    line-height: 1.5;
}

/* 优势展示区样式 */
.advantages-section {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.advantages-section h2 {
    font-size: 28px;
    color: #FFD700;
    margin-bottom: 1rem;
    text-align: center;
}

.advantages-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.advantage-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 10px;
    width: 200px;
    text-align: center;
    transition: transform 0.3s ease;
}

.advantage-item:hover {
    transform: scale(1.05);
}

.advantage-item img {
    width: 50px;
    margin-bottom: 1rem;
}

.advantage-item p {
    font-size: 16px;
}

/* 用户案例区样式 */
.testimonials-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.testimonials-section h2 {
    font-size: 28px;
    color: #FFD700;
    margin-bottom: 1rem;
}

.testimonial {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1rem 0;
    width: 100%;
    max-width: 800px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.testimonial p {
    font-size: 16px;
    line-height: 1.6;
}

/* 章节导航样式 */
.chapter-nav {
    position: fixed;
    right: 20px;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chapter-nav a {
    background: #FFD700;
    color: #0d47a1;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s ease;
}

.chapter-nav a:hover {
    background: #FFC107;
}

/* 提示信息样式 */
.notice {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 215, 0, 0.9);
    color: #0d47a1;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* 代码块样式 */
.code-block {
    background: rgba(0, 0, 0, 0.8);
    padding: 1rem;
    border-radius: 10px;
    overflow-x: auto;
    margin: 1rem 0;
}

.code-block code {
    color: #FFD700;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .chapter-nav {
        display: none;
    }

    .services-section {
        grid-template-columns: 1fr;
    }
}

