/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* 容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    background-color: #000000;
    color: #fff;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
}

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

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #3393df;
}

/* 英雄区域样式 */
.hero {
    background-color: #3393df;
    color: #fff;
    padding: 120px 0 80px;
    text-align: center;
    margin-top: 70px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* 章节样式 */
.section {
    padding: 80px 0;
    background-color: #fff;
    margin-bottom: 20px;
}

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

/* 技术架构区域背景图片 */
#architecture {
    position: relative;
    background-image: url('../images/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
}

#architecture::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(51, 147, 223, 0.8), rgba(51, 147, 223, 0.9));
    z-index: 1;
}

#architecture .container {
    position: relative;
    z-index: 2;
}

#architecture h2, #architecture h3 {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.8);
}

#architecture p, #architecture li {
    color: #f8f9fa;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: #343a40;
    border-bottom: 2px solid #3393df;
    padding-bottom: 10px;
    display: inline-block;
}

.section h3 {
    font-size: 1.5rem;
    margin: 30px 0 20px;
    color: #495057;
}

.section .content {
    max-width: 1000px;
}

.section p {
    margin-bottom: 15px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
}

/* 确保内容文本样式在所有章节中生效 */
.section p, .section li {
    color: #333;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* 技术栈样式 */
.tech-stack {
    list-style: none;
    margin: 20px 0;
    padding-left: 20px;
}

.tech-stack li {
    margin-bottom: 10px;
    font-size: 1.05rem;
    position: relative;
    padding-left: 20px;
}

.tech-stack li:before {
    content: "•";
    color: #3393df;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* 创新点样式 */
.innovations {
    margin: 20px 0;
    padding-left: 30px;
}

.innovations li {
    margin-bottom: 10px;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* 功能特性样式 */
.feature-item {
    margin-bottom: 50px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-item h3 {
    color: #3393df;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* 全站品牌蓝色系统一 */
.section h2 {
    border-bottom-color: #3393df;
}

.tech-stack li:before {
    color: #3393df;
}

.contact-info h3 {
    color: #3393df;
}

.contact-info a {
    color: #3393df;
}

.contact-info a:hover {
    color: #297bc9;
}

::-webkit-scrollbar-thumb {
    background: #3393df;
}

::-webkit-scrollbar-thumb:hover {
    background: #297bc9;
}

/* 图片容器样式 */
.image-container {
    margin-top: 20px;
    text-align: center;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 10px;
    background-color: #fff;
    transition: box-shadow 0.3s ease;
}

.image-container:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

/* 优势列表样式 */
.advantages-list {
    margin: 20px 0;
    padding-left: 30px;
}

.advantages-list li {
    margin-bottom: 10px;
    font-size: 1.05rem;
    line-height: 1.6;
}

.unique-advantages {
    list-style: none;
    margin: 20px 0;
    padding-left: 20px;
}

.unique-advantages li {
    margin-bottom: 15px;
    font-size: 1.05rem;
    position: relative;
    padding-left: 20px;
    line-height: 1.6;
}

.unique-advantages li:before {
    content: "✓";
    color: #28a745;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* 联系信息样式 */
.contact-info {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.contact-info h3 {
    color: #3393df;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.contact-info ul {
    list-style: none;
    padding-left: 0;
}

.contact-info li {
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.contact-info a {
    color: #3393df;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #297bc9;
    text-decoration: underline;
}

/* 页脚样式 */
.footer {
    background-color: #000000;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

.footer p {
    margin: 0;
    font-size: 1rem;
    color: #fff;
}

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

    .nav-links {
        margin-top: 15px;
        flex-wrap: wrap;
    }

    .nav-links li {
        margin: 5px 10px 5px 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section {
        padding: 60px 0;
    }

    .section h2 {
        font-size: 1.8rem;
    }

    .section h3 {
        font-size: 1.3rem;
    }

    .feature-item {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .section h2 {
        font-size: 1.5rem;
    }

    .section h3 {
        font-size: 1.2rem;
    }

    .tech-stack li,
    .innovations li,
    .advantages-list li,
    .unique-advantages li {
        font-size: 1rem;
    }
}

/* 响应式背景图片 */
@media (max-width: 768px) {
    #architecture {
        background-size: cover;
        background-position: center;
    }
}

@media (max-width: 480px) {
    #architecture {
        background-size: cover;
        background-position: center;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section {
    animation: fadeIn 0.8s ease-out forwards;
}

/* 懒加载图片样式 */
.lazy-image {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.lazy-image.loaded {
    opacity: 1;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #3393df;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #297bc9;
}