* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.8;
    color: #333;
    background: #f5f5f5;
}

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

.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
}

.logo i {
    color: #3498db;
    font-size: 28px;
}

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

.nav a {
    text-decoration: none;
    color: #666;
    font-size: 16px;
    transition: color 0.3s;
}

.nav a:hover,
.nav a.active {
    color: #3498db;
}

.main {
    padding: 40px 0;
}

.hero {
    text-align: center;
    padding: 60px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 10px;
    margin-bottom: 50px;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 18px;
    opacity: 0.9;
}

.section-title {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #3498db;
}

.posts {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.post-card {
    display: flex;
    gap: 30px;
    padding: 30px 0;
    border-bottom: 1px solid #eee;
}

.post-card:last-child {
    border-bottom: none;
}

.post-image {
    flex: 0 0 300px;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-content {
    flex: 1;
}

.post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #999;
}

.post-meta i {
    margin-right: 5px;
}

.post-title {
    font-size: 24px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.post-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s;
}

.post-title a:hover {
    color: #3498db;
}

.post-excerpt {
    color: #666;
    margin-bottom: 20px;
    font-size: 15px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: gap 0.3s;
}

.read-more:hover {
    gap: 12px;
}

.newsletter {
    background: #fff;
    padding: 50px 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: center;
    margin-top: 40px;
}

.newsletter-desc {
    color: #666;
    margin-bottom: 25px;
    font-size: 16px;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 15px;
    transition: border-color 0.3s;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #3498db;
}

.newsletter-form button {
    padding: 12px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.3s;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
}

.newsletter-note {
    font-size: 13px;
    color: #999;
}

.about {
    background: #fff;
    padding: 50px 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-top: 40px;
}

.about-content {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.about-text {
    flex: 1;
}

.about-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-text ul {
    list-style: none;
    padding: 0;
}

.about-text li {
    padding: 8px 0;
    color: #555;
    font-size: 15px;
}

.social-links {
    flex: 0 0 300px;
    text-align: center;
}

.social-links h3 {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 30px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #f5f5f5;
    border-radius: 50%;
    color: #666;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s;
}

.social-icon:hover {
    background: #3498db;
    color: #fff;
    transform: translateY(-3px);
}

.wechat-qr p {
    color: #666;
    margin-bottom: 15px;
    font-size: 14px;
}

.qr-placeholder {
    width: 200px;
    height: 200px;
    background: #f5f5f5;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: #999;
}

.qr-placeholder i {
    font-size: 60px;
    margin-bottom: 10px;
}

.qr-placeholder span {
    font-size: 13px;
}

.contact {
    background: #fff;
    padding: 50px 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-top: 40px;
}

.contact-content {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.contact-form {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.3s;
}

.submit-btn:hover {
    transform: translateY(-2px);
}

.contact-info {
    flex: 0 0 300px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 15px;
}

.contact-item i {
    font-size: 24px;
    color: #3498db;
}

.contact-item span {
    color: #666;
    font-size: 15px;
}

.footer {
    background: #2c3e50;
    color: #fff;
    padding: 50px 0 30px;
    margin-top: 50px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-section p {
    color: #bdc3c7;
    font-size: 14px;
}

.footer-section a {
    display: block;
    color: #bdc3c7;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #3498db;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: #3498db;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    color: #bdc3c7;
    font-size: 14px;
    margin-bottom: 5px;
}

.icp {
    font-size: 12px;
    color: #95a5a6;
}

@media (max-width: 768px) {
    .post-card {
        flex-direction: column;
    }
    
    .post-image {
        flex: none;
        width: 100%;
        height: 250px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .posts {
        padding: 20px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form button {
        width: 100%;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .social-links {
        flex: none;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .contact-info {
        flex: none;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}
