* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
    font-size: 16px;
    line-height: 1.9;
    background: #0f1419;
    color: #e7e9ea;
}
a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}
ul {
    list-style: none;
}
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}
.top-header {
    background: linear-gradient(135deg, #1a2332 0%, #0d1117 100%);
    border-bottom: 1px solid #30363d;
    padding: 10px 0;
}
.top-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}
.top-header-left {
    color: #8b949e;
}
.top-header-right a {
    color: #58a6ff;
    margin-left: 20px;
}
.top-header-right a:hover {
    color: #79c0ff;
}
.main-header {
    background: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #238636;
}
.main-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}
.brand-logo {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(120deg, #58a6ff, #3fb950, #f78166);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.main-nav ul {
    display: flex;
    gap: 6px;
}
.main-nav a {
    display: block;
    padding: 10px 16px;
    color: #c9d1d9;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
}
.main-nav a:hover {
    background: #21262d;
    color: #58a6ff;
}
.breadcrumb {
    background: #161b22;
    padding: 16px 0;
    border-bottom: 1px solid #30363d;
}
.breadcrumb-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
}
.breadcrumb a {
    color: #58a6ff;
}
.breadcrumb a:hover {
    text-decoration: underline;
}
.breadcrumb span {
    color: #8b949e;
}
.breadcrumb-current {
    color: #e7e9ea;
}
.hero-section {
    padding: 70px 0;
    background: radial-gradient(ellipse at top, #1a2332 0%, #0f1419 70%);
    text-align: center;
}
.hero-title {
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 24px;
    background: linear-gradient(90deg, #58a6ff, #7ee787, #ffa657);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-desc {
    font-size: 20px;
    color: #8b949e;
    max-width: 800px;
    margin: 0 auto 36px;
}
.hero-btn {
    display: inline-block;
    padding: 14px 36px;
    background: linear-gradient(135deg, #238636, #2ea043);
    color: #ffffff;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(35, 134, 54, 0.4);
}
.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(35, 134, 54, 0.6);
}
.main-content {
    padding: 60px 0;
}
.article-wrapper {
    background: linear-gradient(180deg, #161b22 0%, #0d1117 100%);
    border-radius: 16px;
    padding: 50px;
    margin-bottom: 50px;
    border: 1px solid #30363d;
}
.article-title {
    font-size: 30px;
    color: #58a6ff;
    margin-bottom: 30px;
    padding-bottom: 16px;
    border-bottom: 2px solid #238636;
}
.article-subtitle {
    font-size: 24px;
    color: #7ee787;
    margin: 40px 0 20px;
}
.article-text {
    margin-bottom: 20px;
    text-align: justify;
    color: #c9d1d9;
}
.svg-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 40px 0;
}
.svg-item {
    background: #21262d;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #30363d;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
}
.svg-item:hover {
    transform: translateY(-4px);
    border-color: #58a6ff;
}
.svg-item svg {
    width: 100%;
    height: 140px;
}
.svg-item p {
    margin-top: 12px;
    font-size: 15px;
    color: #8b949e;
}
.feature-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 40px 0;
}
.feature-card {
    background: linear-gradient(145deg, #21262d, #161b22);
    padding: 28px 20px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #30363d;
    transition: all 0.3s;
}
.feature-card:hover {
    border-color: #3fb950;
    transform: translateY(-3px);
}
.feature-card h4 {
    font-size: 18px;
    color: #3fb950;
    margin-bottom: 10px;
}
.feature-card p {
    font-size: 15px;
    color: #8b949e;
}
.comments-area {
    background: #161b22;
    border-radius: 16px;
    padding: 45px;
    border: 1px solid #30363d;
}
.comments-title {
    font-size: 26px;
    color: #f78166;
    margin-bottom: 30px;
    padding-bottom: 14px;
    border-bottom: 2px solid #f78166;
}
.comment-box {
    background: #0d1117;
    padding: 24px;
    border-radius: 10px;
    margin-bottom: 18px;
    border-left: 3px solid #a371f7;
}
.comment-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}
.comment-name {
    font-weight: 600;
    color: #58a6ff;
    font-size: 16px;
}
.comment-time {
    font-size: 14px;
    color: #6e7681;
}
.comment-body {
    color: #c9d1d9;
    line-height: 1.8;
}
.comment-stars {
    color: #f0883e;
    margin-top: 10px;
    font-size: 15px;
}
.page-footer {
    background: linear-gradient(180deg, #161b22 0%, #0d1117 100%);
    padding: 50px 0 30px;
    border-top: 2px solid #30363d;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}
.footer-col h5 {
    font-size: 17px;
    color: #58a6ff;
    margin-bottom: 18px;
}
.footer-col a {
    display: block;
    color: #8b949e;
    margin-bottom: 10px;
    font-size: 15px;
}
.footer-col a:hover {
    color: #58a6ff;
}
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #30363d;
    color: #6e7681;
    font-size: 15px;
}
.section-intro {
    background: #161b22;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 50px;
    border: 1px solid #30363d;
}
.section-intro h3 {
    font-size: 22px;
    color: #ffa657;
    margin-bottom: 20px;
}
.section-intro p {
    color: #c9d1d9;
    margin-bottom: 15px;
}
.section-intro a {
    color: #58a6ff;
}
.section-intro a:hover {
    text-decoration: underline;
}
.intro-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 40px 0;
}
.intro-card {
    background: linear-gradient(145deg, #21262d, #161b22);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid #30363d;
    transition: all 0.3s;
}
.intro-card:hover {
    border-color: #ffa657;
}
.intro-card h4 {
    font-size: 20px;
    color: #ffa657;
    margin-bottom: 15px;
}
.intro-card p {
    color: #8b949e;
    font-size: 15px;
    margin-bottom: 15px;
}
.intro-card a {
    display: inline-block;
    padding: 8px 20px;
    background: #21262d;
    color: #58a6ff;
    border-radius: 6px;
    font-size: 14px;
    border: 1px solid #30363d;
}
.intro-card a:hover {
    background: #30363d;
}
.highlight {
    color: #3fb950;
    font-weight: 600;
}
@media (max-width: 1024px) {
    .feature-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .main-header-inner {
        flex-direction: column;
        gap: 16px;
    }
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    .hero-title {
        font-size: 32px;
    }
    .svg-gallery {
        grid-template-columns: 1fr;
    }
    .intro-grid {
        grid-template-columns: 1fr;
    }
    .feature-cards {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .article-wrapper {
        padding: 30px 20px;
    }
}
