/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

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

.tag {
    background-color: #edf2f7;
    color: #4a5568;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #2d3748;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

/* 移动端排版优化 */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
        margin-bottom: 0.8rem;
    }
    
    h2 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }
    
    h3 {
        font-size: 1.3rem;
        margin-bottom: 0.6rem;
    }
    
    h4 {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
        margin-bottom: 0.6rem;
    }
    
    h2 {
        font-size: 1.6rem;
        margin-bottom: 0.6rem;
    }
    
    h3 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    
    h4 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 360px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.1rem;
    }
}

p {
    margin-bottom: 1rem;
    color: #4a5568;
}

a {
    color: #3182ce;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #2c5aa0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: 2px solid transparent;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    line-height: 1;
}

.btn-primary {
    background-color: #3182ce;
    color: white;
    border-color: #3182ce;
}

.btn-primary:hover {
    background-color: #2c5aa0;
    border-color: #2c5aa0;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(49, 130, 206, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #3182ce;
    border-color: #3182ce;
}

.btn-secondary:hover {
    background-color: #3182ce;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(49, 130, 206, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: #4a5568;
    border-color: #e2e8f0;
}

.btn-outline:hover {
    background-color: #f7fafc;
    border-color: #cbd5e0;
}

/* 移动端滚动优化 */
@media (max-width: 768px) {
    html, body {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .section {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .review-card {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
}