
    /* 全局样式 */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        font-family: 'Roboto', sans-serif;
        background: linear-gradient(135deg, #0A1F44, #4B0082);
        color: #E0E0E0;
        line-height: 1.6;
        padding: 0 2rem;
    }

    /* 导航栏样式 */
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background-color: rgba(10, 31, 68, 0.9);
        padding: 1rem 2rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        z-index: 1000;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

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

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

    /* 主标题样式 */
    .hero {
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding-top: 4rem;
    }

    .hero h1 {
        font-family: 'Montserrat', sans-serif;
        font-size: 3rem;
        color: #FFFFFF;
        margin-bottom: 1rem;
        animation: fadeInDown 1s ease forwards;
    }

    .hero p {
        font-size: 1.2rem;
        color: #E0E0E0;
        max-width: 600px;
        margin-bottom: 2rem;
        animation: fadeInUp 1s ease forwards;
        opacity: 0;
        transform: translateY(20px);
    }

    .hero .cta-button {
        background-color: #FF7F50;
        color: #FFFFFF;
        padding: 0.75rem 1.5rem;
        border: none;
        border-radius: 25px;
        font-size: 1rem;
        cursor: pointer;
        transition: background-color 0.3s ease, transform 0.3s ease;
        animation: fadeInUp 1s ease forwards;
        opacity: 0;
        transform: translateY(20px);
    }

    .hero .cta-button:hover {
        background-color: #FFFFFF;
        color: #FF7F50;
        box-shadow: 0 4px 6px rgba(0,0,0,0.2);
        transform: scale(1.05);
    }

    /* 模块化内容样式 */
    .module {
        width: 100%;
        padding: 4rem 2rem;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        animation: fadeIn 1s ease forwards;
        opacity: 0;
    }

    .module:nth-child(odd) {
        background: rgba(30, 47, 103, 0.8);
    }

    .module:nth-child(even) {
        background: rgba(20, 35, 75, 0.8);
    }

    .module .text-content {
        flex: 1 1 500px;
        padding: 1rem;
    }

    .module .text-content h2 {
        font-family: 'Montserrat', sans-serif;
        font-size: 2rem;
        color: #FFFFFF;
        margin-bottom: 1rem;
    }

    .module .text-content p {
        font-size: 1rem;
        color: #E0E0E0;
        margin-bottom: 1rem;
    }

    .module .text-content pre {
        background: rgba(255, 255, 255, 0.1);
        padding: 1rem;
        border-radius: 5px;
        overflow-x: auto;
        margin-bottom: 1rem;
    }

    .module .image-content {
        flex: 1 1 300px;
        padding: 1rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .module .image-content img {
        max-width: 100%;
        height: auto;
        border-radius: 10px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.3);
        transition: transform 0.3s ease;
    }

    .module .image-content img:hover {
        transform: scale(1.05);
    }

    /* 示例展示样式 */
    .sample-display {
        background: rgba(255, 255, 255, 0.1);
        padding: 2rem;
        border-radius: 10px;
        margin: 2rem 0;
    }

    .sample-display h2 {
        font-family: 'Montserrat', sans-serif;
        font-size: 2rem;
        color: #FFFFFF;
        margin-bottom: 1rem;
        text-align: center;
    }

    .sample-display article {
        max-width: 800px;
        margin: 0 auto;
    }

    .sample-display pre {
        background: rgba(0, 0, 0, 0.8);
        color: #00C897;
        padding: 1rem;
        border-radius: 5px;
        overflow-x: auto;
        margin-bottom: 1rem;
        font-family: 'Courier New', Courier, monospace;
    }

    /* 提示信息样式 */
    .reference-note {
        text-align: center;
        font-size: 1rem;
        color: #FFD700;
        margin: 2rem 0;
        animation: fadeIn 2s ease forwards;
        opacity: 0;
    }

    /* 交互动效 */
    @keyframes fadeIn {
        to {
            opacity: 1;
        }
    }

    @keyframes fadeInDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* 响应式设计 */
    @media (max-width: 1440px) {
        .hero h1 {
            font-size: 2.5rem;
        }

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

        .module {
            padding: 3rem 1.5rem;
        }
    }

    @media (max-width: 1200px) {
        .navbar {
            padding: 0.8rem 1.5rem;
        }

        .navbar a {
            margin-left: 1rem;
            font-size: 0.9rem;
        }

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

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

    @media (max-width: 1024px) {
        .module {
            flex-direction: column;
        }

        .module .text-content, .module .image-content {
            flex: 1 1 100%;
            padding: 0.5rem;
        }

        .sample-display article {
            padding: 0 1rem;
        }
    }

    @media (max-width: 768px) {
        .navbar {
            flex-direction: column;
            align-items: flex-start;
        }

        .module {
            padding: 2rem 1rem;
        }

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

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

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

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

        .navbar a {
            margin-left: 0.5rem;
            font-size: 0.8rem;
        }
    }

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

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

        .navbar {
            padding: 0.5rem 1rem;
        }
    }

