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

    body {
        font-family: 'Roboto', sans-serif;
        line-height: 1.6;
        color: #ffffff;
        background: linear-gradient(135deg, #0A2647, #3F51B5, #9C27B0);
        background-size: 400% 400%;
        animation: gradientBackground 15s ease infinite;
        overflow-x: hidden;
    }

    @keyframes gradientBackground {
        0% { background-position: 0% 50%; }
        50% { background-position: 100% 50%; }
        100% { background-position: 0% 50%; }
    }

    /* 布局容器 */
    .container {
        width: 90%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px 0;
    }

    /* 导航栏样式 */
    nav {
        position: fixed;
        top: 0;
        width: 100%;
        background: rgba(10, 38, 71, 0.8);
        backdrop-filter: blur(10px);
        z-index: 1000;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }

    nav ul {
        list-style: none;
        display: flex;
        justify-content: center;
        padding: 15px 0;
    }

    nav ul li {
        margin: 0 20px;
    }

    nav ul li a {
        color: #ffffff;
        text-decoration: none;
        font-size: 16px;
        transition: color 0.3s ease, transform 0.3s ease;
    }

    nav ul li a:hover {
        color: #FFC107;
        transform: scale(1.1);
    }

    /* 主页英雄区 */
    .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;
        width: 100%;
        height: 100%;
        background: rgba(10, 38, 71, 0.6);
    }

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

    .hero h1 {
        font-family: 'Bebas Neue', cursive;
        font-size: 64px;
        margin-bottom: 20px;
        color: #FFC107;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    }

    .hero p {
        font-size: 20px;
        max-width: 600px;
        margin: 0 auto 30px;
    }

    .hero .btn {
        background-color: var(--secondary-color, #FFC107);
        color: #0A2647;
        border: none;
        padding: 15px 30px;
        font-size: 18px;
        cursor: pointer;
        transition: background-color 0.3s ease, transform 0.3s ease;
        border-radius: 5px;
    }

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

    /* 模块样式 */
    section {
        padding: 80px 0;
        position: relative;
    }

    section:nth-child(even) {
        background: rgba(255, 255, 255, 0.1);
    }

    section:nth-child(odd) {
        background: rgba(0, 0, 0, 0.2);
    }

    .module-title {
        text-align: center;
        margin-bottom: 40px;
    }

    .module-title h2 {
        font-size: 36px;
        margin-bottom: 10px;
        color: #FFC107;
        font-family: 'Bebas Neue', cursive;
    }

    .module-title p {
        font-size: 18px;
        color: #ddd;
    }

    /* 卡片式网格 */
    .grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
    }

    .card {
        background: rgba(255, 255, 255, 0.1);
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

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

    .card img {
        width: 100%;
        border-radius: 5px;
        margin-bottom: 15px;
    }

    .card h3 {
        font-size: 24px;
        margin-bottom: 10px;
        color: #FFC107;
    }

    .card p {
        font-size: 16px;
        color: #ddd;
    }

    /* 代码展示样式 */
    pre {
        background: rgba(0, 0, 0, 0.7);
        padding: 20px;
        border-radius: 8px;
        overflow-x: auto;
        margin-bottom: 20px;
    }

    code {
        font-family: 'Courier New', Courier, monospace;
        color: #00FF90;
        font-size: 16px;
    }

    /* 表格样式 */
    table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 30px;
    }

    table, th, td {
        border: 1px solid #FFC107;
    }

    th, td {
        padding: 12px;
        text-align: left;
    }

    th {
        background-color: rgba(255, 255, 255, 0.2);
    }

    td {
        background-color: rgba(255, 255, 255, 0.1);
    }

    /* 按序列表 */
    ol {
        padding-left: 20px;
        margin-bottom: 30px;
    }

    ol li {
        margin-bottom: 10px;
        font-size: 16px;
        color: #ddd;
    }

    /* 动画与交互效果 */
    .module {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 1s ease, transform 1s ease;
    }

    .module.visible {
        opacity: 1;
        transform: translateY(0);
    }

    /* 滚动到顶部按钮 */
    .back-to-top {
        position: fixed;
        bottom: 30px;
        right: 30px;
        background-color: #FFC107;
        color: #0A2647;
        border: none;
        padding: 15px;
        border-radius: 50%;
        cursor: pointer;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        transition: background-color 0.3s ease, transform 0.3s ease;
        display: none;
        z-index: 1000;
    }

    .back-to-top:hover {
        background-color: #FFA000;
        transform: scale(1.1);
    }

    /* 联系我们模块的AI客服对话框 */
    .chatbot {
        position: fixed;
        bottom: 30px;
        left: 30px;
        width: 300px;
        background: rgba(10, 38, 71, 0.9);
        border-radius: 10px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        padding: 20px;
        display: flex;
        flex-direction: column;
    }

    .chatbot h4 {
        margin-bottom: 10px;
        color: #FFC107;
        font-family: 'Bebas Neue', cursive;
    }

    .chatbot p {
        font-size: 14px;
        color: #ddd;
    }

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

        .hero p {
            font-size: 18px;
        }

        nav ul li {
            margin: 0 10px;
        }

        nav ul li a {
            font-size: 14px;
        }
    }

    @media (max-width: 768px) {
        .hero h1 {
            font-size: 36px;
        }

        .hero p {
            font-size: 16px;
        }

        .chatbot {
            width: 90%;
            left: 5%;
        }
    }

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

        .hero p {
            font-size: 14px;
        }

        nav ul {
            flex-direction: column;
        }

        nav ul li {
            margin: 10px 0;
        }

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

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

        .hero p {
            font-size: 12px;
        }

        .btn {
            padding: 10px 20px;
            font-size: 16px;
        }

        .chatbot {
            width: 100%;
            left: 0;
            right: 0;
            margin: 0 auto;
        }
    }

