/* 润笔网首页样式 */

/* 主标题区域 */
.hero-section {
    background: white;
    padding: 30px 20px;
    text-align: center;
    margin-bottom: 0;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-strengths {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.strength-item {
    text-align: center;
}

.strength-number {
    font-size: 32px;
    font-weight: bold;
    color: #FA2800;
    display: block;
    margin-bottom: 6px;
}

.strength-label {
    font-size: 13px;
    color: #666;
}

.hero-business {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 20px 30px;
    margin-top: 20px;
    margin-bottom: 0;
}

.business-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.business-left {
    flex: 1;
    text-align: left;
}

.business-right {
    flex: 1;
    text-align: left;
    border-left: 1px solid #e0e0e0;
    padding-left: 40px;
}

.business-title {
    font-size: 15px;
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;
}

.business-text {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #FA2800 0%, #FF6B5B 100%);
    color: white;
    padding: 14px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: transform 0.2s;
}

.cta-button:hover {
    transform: translateY(-2px);
}

/* 文章网格 */
.article-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 0;
}

.article-card {
    background: white;
    border-radius: 8px;
    padding: 8px 12px;
    border: 1px solid #f0f0f0;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    height: 38px;
    overflow: hidden;
}

.article-card-title {
    font-size: 14px;
    color: #333;
    font-weight: normal;
    line-height: 1.3;
    margin: 0;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.article-card-time {
    font-size: 12px;
    color: #999;
    flex-shrink: 0;
    white-space: nowrap;
}

/* 列表样式 */
.article-list {
    list-style: none;
    padding: 0;
}

.article-list-item {
    background: white;
    padding: 16px 20px;
    margin-bottom: 12px;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
}

/* 板块标题 */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* 内容板块 */
.content-section {
    background: white;
    padding: 0 24px 24px 24px;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    margin-top: 24px;
}

/* 标题区域背景色 */
.section-header {
    background: transparent;
    margin: 0 -24px 12px -24px;
    padding: 0 24px 2px 24px;
    border-bottom: 1px solid #f0f0f0;
    border-radius: 12px 12px 0 0;
}

/* 网站介绍板块 */
.intro-section {
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
    border: 1px solid #ffe0e0;
    border-radius: 12px;
    padding: 30px 40px;
    margin-bottom: 24px;
}

.intro-title {
    font-size: 20px;
    font-weight: 600;
    color: #d93025;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.intro-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.intro-item-icon {
    font-size: 28px;
    line-height: 1;
}

.intro-item-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.intro-item-text {
    font-size: 13px;
    line-height: 1.6;
    color: #666;
}

.intro-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 20px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    background: white;
    border-radius: 6px;
    border: 1px solid #f0f0f0;
}

.feature-check {
    font-size: 18px;
    color: #d93025;
    flex-shrink: 0;
    margin-top: 1px;
}

.feature-text {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-icon {
    font-size: 20px;
}

/* 底部统计 */
.stats-section {
    background: linear-gradient(135deg, #fff9f8 0%, #fff5f3 100%);
    border-radius: 12px;
    padding: 32px;
    margin: 40px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: bold;
    color: #FA2800;
    display: block;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: #666;
}

/* 关于介绍 */
.about-section {
    background: white;
    padding: 40px;
    border-radius: 12px;
    margin: 40px 0;
    border: 1px solid #f0f0f0;
}

.about-text {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .article-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .hero-section {
        padding: 24px 16px;
    }
    
    .hero-strengths {
        gap: 20px;
    }
    
    .strength-number {
        font-size: 24px;
    }
    
    .business-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    
    .business-right {
        border-left: none;
        border-top: 1px solid #e0e0e0;
        padding-left: 0;
        padding-top: 20px;
    }
    
    .intro-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .intro-features {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
