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

body {
    font-family: 'Source Han Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #000000;
    background: #FFFFFF;
}

a{
    text-decoration: none;
}
/* 导航栏 */
.header{
    /* border-bottom: 1px solid #F3F4F6; */
    background-color: #1D1D1F;
}
.header-wrapper {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15.5px 32px 16.5px;    
}

.logo {
    color: #007AFF;
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: #FFFFFF;
    font-size: 16px;
    line-height: 24px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #007AFF;
}

/* 主要内容 */
.main-content {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px;
}

/* 首页英雄区 */
.hero-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 93px 0 64px;
    gap: 32px;
}

.hero-content {
    flex: 1;
    max-width: 320px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 60px;
    color: #000000;
    margin-bottom: 24px;
}

.hero-subtitle {
    color: #4B5563;
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 32px;
}

.cta-button {
    background: #007AFF;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    border: none;
    border-radius: 8px;
    padding: 12px 32px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
    background: #0066DD;
    transform: translateY(-2px);
}

.cta-button:active {
    transform: translateY(0);
}

.hero-image {
    flex: 1;
    max-width: 656px;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0px 4px 6px -4px rgba(0, 0, 0, 0.10), 
                0px 10px 15px -3px rgba(0, 0, 0, 0.10);
}

/* 最新文章区域 */
.articles-section {
    padding-bottom: 64px;
}

.section-title {
    color: #000000;
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    margin-bottom: 27px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

/* 文章卡片 */
.article-card {
    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.12);
}

.article-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.article-content {
    padding: 24px;
}

.article-title {
    color: #000000;
    font-size: 20px;
    font-weight: 500;
    line-height: 28px;
    margin-bottom: 12px;
}

.article-description {
    color: #4B5563;
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 16px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    color: #000000;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
}

.article-date {
    color: #6B7280;
    font-size: 12px;
    line-height: 16px;
}

/* 页脚 */
.footer {
    background-color: #1D1D1F;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 49px 32px 48px;
    border-top: 1px solid #F3F4F6;
    margin-top: 43px;
}

.footer-block {
    margin: 0 auto;
    color: #FFFFFF;
    font-size: 14px;
    line-height: 40px;
    text-align: center;
}
.beian{
    /* height: 40px; */
    line-height: 40px;
}
.beian>a{
    color: #FFFFFF;
}
.social-links {
    display: flex;
    gap: 24px;
}

.social-icon {
    display: inline-block;
    transition: opacity 0.3s ease;
}

.social-icon img {
    width: 20px;
    height: 20px;
    display: block;
}

.social-icon:hover {
    opacity: 0.7;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero-section {
        flex-direction: column;
        padding: 48px 0 48px;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-image {
        max-width: 100%;
    }

    .articles-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 16px;
        padding: 16px;
    }

    .nav {
        gap: 24px;
    }

    .hero-title {
        font-size: 36px;
        line-height: 44px;
    }

    .hero-subtitle {
        font-size: 18px;
        line-height: 26px;
    }

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

    .footer {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 28px;
        line-height: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
        line-height: 24px;
    }

    .section-title {
        font-size: 20px;
    }

    .article-title {
        font-size: 18px;
    }
}
