/* Go Child 自定义样式 */
/* 遵循 E-E-A-T 原则：代码清晰、语义化、响应式、无障碍友好 */

/* ===== 全局样式 ===== */
:root {
    --primary-color: #e60012;
    --secondary-color: #ffcc00;
    --dark-color: #1a1a1a;
    --light-color: #f8f8f8;
    --text-color: #333;
    --border-radius: 8px;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

/* ===== 横幅区域 ===== */
.hero-banner {
    background: linear-gradient(135deg, var(--primary-color), #b3000b);
    color: white;
    text-align: center;
    padding: 80px 20px;
    margin-bottom: 60px;
}

.banner-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.banner-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.cta-button {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--dark-color);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #ffdb4d;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* ===== 特色服务网格 ===== */
.features-section {
    padding: 60px 20px;
    text-align: center;
}

.features-section h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--dark-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px 20px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* ===== 最新文章网格 ===== */
.latest-posts {
    padding: 60px 20px;
    background: var(--light-color);
}

.latest-posts h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.post-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
}

.post-card a {
    text-decoration: none;
    color: inherit;
    display: block;
    padding: 20px;
}

.post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.post-card h3 {
    font-size: 1.3rem;
    margin: 15px 0 10px;
    color: var(--dark-color);
}

.post-card time {
    font-size: 0.9rem;
    color: #777;
}

/* ===== 优惠活动 ===== */
.promotions {
    padding: 60px 20px;
    text-align: center;
}

.promotions h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.promotion-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.promotion-card {
    background: linear-gradient(135deg, #4a4a4a, #2c2c2c);
    color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.promotion-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.promo-button {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    transition: background 0.3s ease;
}

.promo-button:hover {
    background: #ff3333;
}

/* ===== 信任标志 ===== */
.trust-signals {
    padding: 60px 20px;
    background: var(--light-color);
    text-align: center;
}

.trust-signals h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.trust-item {
    background: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.trust-item strong {
    display: block;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* ===== 响应式设计 ===== */
@media (max-width: 768px) {
    .banner-content h1 {
        font-size: 2.2rem;
    }
    .features-grid,
    .posts-grid,
    .promotion-cards,
    .trust-grid {
        grid-template-columns: 1fr;
    }
    .hero-banner,
    .features-section,
    .latest-posts,
    .promotions,
    .trust-signals {
        padding: 40px 15px;
    }
}