
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #e0eafc, #cfdef3);
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 30px;
}

header h1 {
    font-size: 2.5em;
    color: #4a69bd;
    margin-bottom: 10px;
    text-shadow: 2px 2px 3px rgba(0,0,0,0.05);
}

header p {
    font-size: 1.1em;
    color: #777;
}

.feature-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.feature-card {
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom right, rgba(103, 114, 229, 0.1), rgba(155, 89, 182, 0.1));
    border-radius: 15px;
    pointer-events: none;
}

.card-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card-icon img {
    width: 100%;
    height: auto;
    display: block;
}

.card-title {
    font-size: 1.5em;
    color: #34495e;
    margin-bottom: 10px;
}

.card-description {
    font-size: 1em;
    color: #555;
    line-height: 1.6;
}

.card-tech-highlights {
    margin-top: 15px;
}

.card-tech-highlights strong {
    color: #2c3e50;
}

.article-section {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.article-section h2 {
    font-size: 2em;
    color: #4a69bd;
    margin-bottom: 20px;
    border-bottom: 2px solid #dcdde1;
    padding-bottom: 10px;
}

.article-section h3 {
    font-size: 1.6em;
    color: #34495e;
    margin-top: 25px;
    margin-bottom: 15px;
}

.article-section p, .article-section ul, .article-section ol, .article-section table {
    font-size: 1.05em;
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
}

.article-section ul, .article-section ol {
    padding-left: 30px;
}

.article-section table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    margin-bottom: 20px;
}

.article-section th, .article-section td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.article-section th {
    background-color: #f2f2f2;
    font-weight: bold;
}

.article-section pre {
    background-color: #f8f8f9;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    font-size: 0.9em;
    line-height: 1.5;
    white-space: pre-wrap;
    word-wrap: break-word;
    margin-bottom: 15px;
    border: 1px solid #eee;
}

.article-section pre code {
    font-family: monospace, monospace;
    color: #333;
}

footer {
    text-align: center;
    padding: 20px;
    color: #777;
    font-size: 0.9em;
    border-top: 1px solid #eee;
}

/* 响应式布局 */
@media (max-width: 1024px) {
    .container {
        padding: 15px;
    }

    header h1 {
        font-size: 2.2em;
    }

    header p {
        font-size: 1em;
    }

    .feature-section {
        gap: 20px;
    }

    .feature-card {
        padding: 20px;
    }

    .card-title {
        font-size: 1.3em;
    }

    .article-section {
        padding: 25px;
    }

    .article-section h2 {
        font-size: 1.8em;
    }

    .article-section h3 {
        font-size: 1.4em;
    }
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }

    .feature-section {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .article-section {
        padding: 20px;
    }

    .article-section h2 {
        font-size: 1.6em;
    }

    .article-section h3 {
        font-size: 1.3em;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.7em;
    }

    header p {
        font-size: 0.9em;
    }

    .feature-card {
        padding: 15px;
    }

    .card-title {
        font-size: 1.2em;
    }

    .card-description {
        font-size: 0.95em;
    }

    .article-section {
        padding: 15px;
    }

    .article-section h2 {
        font-size: 1.4em;
    }

    .article-section h3 {
        font-size: 1.2em;
    }

    .article-section p, .article-section ul, .article-section ol, .article-section table {
        font-size: 0.95em;
    }
}

@media (max-width: 320px) {
    header h1 {
        font-size: 1.5em;
    }

    .feature-card {
        padding: 10px;
    }

    .card-title {
        font-size: 1.1em;
    }

    .article-section h2 {
        font-size: 1.3em;
    }

    .article-section h3 {
        font-size: 1.1em;
    }
}

