
    /* 全局样式 */
    body {
        margin: 0;
        font-family: 'Roboto', sans-serif;
        line-height: 1.6;
        color: #ffffff;
        background: linear-gradient(135deg, #8e44ad, #3498db, #e74c3c);
        background-size: 300% 300%;
        animation: gradient-animation 15s ease infinite;
    }
    
    @keyframes gradient-animation {
        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;
    }
    
    header {
        text-align: center;
        padding: 60px 0;
    }
    
    header h1 {
        font-size: 3em;
        letter-spacing: 2px;
        text-transform: uppercase;
        color: #ffffff;
        margin-bottom: 20px;
    }
    
    header p {
        font-size: 1.2em;
        color: #f1c40f;
    }
    
    nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 200px;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        padding-top: 60px;
        box-sizing: border-box;
        transition: all 0.3s ease;
    }
    
    nav a {
        display: block;
        color: #ffffff;
        text-decoration: none;
        padding: 15px 20px;
        margin: 10px 0;
        border-radius: 5px;
        transition: background 0.3s ease;
    }
    
    nav a:hover {
        background: rgba(255, 255, 255, 0.2);
    }
    
    .hero {
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        position: relative;
    }
    
    .hero h2 {
        font-size: 2.5em;
        margin-bottom: 20px;
        color: #ffcc00;
    }
    
    .hero button {
        padding: 10px 30px;
        font-size: 1em;
        color: #ffffff;
        background-color: #3498db;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .hero button:hover {
        transform: scale(1.1);
        box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        text-align: center;
        font-size: 2em;
        margin-bottom: 40px;
        color: #ffffff;
    }
    
    .products {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .product {
        background: rgba(255, 255, 255, 0.1);
        padding: 20px;
        border-radius: 10px;
        text-align: center;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .product:hover {
        transform: scale(1.05);
        box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    }
    
    .product img {
        width: 100%;
        height: auto;
        border-radius: 5px;
    }
    
    .product h3 {
        margin: 15px 0;
        font-size: 1.5em;
        color: #f39c12;
    }
    
    .interactive {
        background: rgba(0, 0, 0, 0.7);
        padding: 40px;
        border-radius: 10px;
        text-align: center;
    }
    
    .interactive h3 {
        margin-bottom: 20px;
        color: #2ecc71;
    }
    
    .interactive p {
        color: #bdc3c7;
    }
    
    .example {
        background: rgba(255, 255, 255, 0.1);
        padding: 30px;
        border-radius: 10px;
        margin-top: 40px;
        color: #ecf0f1;
    }
    
    .example h2 {
        text-align: center;
        margin-bottom: 20px;
        color: #e67e22;
    }
    
    .example pre {
        background: rgba(0, 0, 0, 0.8);
        padding: 15px;
        border-radius: 5px;
        overflow-x: auto;
    }
    
    .example code {
        color: #2ecc71;
        font-family: 'Courier New', Courier, monospace;
    }
    
    footer {
        text-align: center;
        padding: 20px;
        background: rgba(0, 0, 0, 0.5);
        color: #bdc3c7;
        position: relative;
    }
    
    /* 响应式设计 */
    @media (max-width: 768px) {
        nav {
            width: 100%;
            height: auto;
            position: relative;
        }
        
        nav a {
            display: inline-block;
            margin: 10px;
        }
        
        .hero h2 {
            font-size: 2em;
        }
        
        .section-title {
            font-size: 1.8em;
        }
    }
    
    @media (max-width: 480px) {
        header h1 {
            font-size: 2em;
        }
        
        .hero h2 {
            font-size: 1.5em;
        }
        
        .section-title {
            font-size: 1.5em;
        }
        
        .product h3 {
            font-size: 1.2em;
        }
        
        .interactive h3 {
            font-size: 1.2em;
        }
    }
    
    @media (max-width: 320px) {
        .hero button {
            padding: 8px 20px;
            font-size: 0.9em;
        }
        
        .product {
            padding: 15px;
        }
        
        .example pre {
            font-size: 0.8em;
        }
    }

