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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Header Styles */
.header {
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
    box-shadow: 0 2px 4px 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: 0.75rem 20px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo img {
    height: 47px;
    width: auto;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover,
.nav a.active {
    color: #e3f2fd;
    text-decoration: underline;
}

/* Banner Styles */
.banner {
    background: #fff;
    padding: 1.5rem 0;
}

.banner-image {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

/* Content Section */
.content-section {
    padding: 2rem 0;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.content-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(21, 101, 192, 0.1);
    border-top: 4px solid #1976d2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.content-card h3 {
    color: #1565c0;
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.content-body {
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
}

.content-body a {
    color: #1565c0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.content-body a:hover {
    color: #1976d2;
    text-decoration: underline;
}

.bullet-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bullet-list li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.4rem;
}

.bullet-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #1565c0;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Footer Styles */
.footer {
    background: #f8f9fa;
    border-top: 3px solid #1976d2;
    margin-top: 3rem;
}

.footer-content {
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links a,
.footer-info a {
    color: #666;
    text-decoration: none;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-info a:hover {
    color: #1976d2;
}

.footer-info {
    color: #666;
    font-size: 0.9rem;
}

.footer-bottom {
    background: #f8f9fa;
    padding: 1rem 0;
    text-align: center;
}

.beian-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #939393;
    gap: 0.5rem;
}

.beian-link img {
    height: 20px;
    width: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav ul {
        gap: 1rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .content-card {
        padding: 1.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links,
    .footer-info {
        margin-bottom: 1rem;
    }
}

/* Language Toggle Styles */
.language-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.lang-btn.active {
    background: rgba(255, 255, 255, 0.2);
    font-weight: 600;
}

.lang-separator {
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
    .header-right {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        align-items: center;
    }
    
    .language-toggle {
        justify-content: center;
        width: 100%;
    }
    
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .banner {
        padding: 1rem 0;
    }
    
    .content-section {
        padding: 2rem 0;
    }
    
    .content-card {
        padding: 1rem;
    }
    
    .content-card h3 {
        font-size: 1.3rem;
    }
    
    .content-body {
        font-size: 1rem;
    }
}