/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* 页面头部样式 */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: center;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    flex-wrap: wrap;
	margin-bottom:10px;
}

nav ul li {
    margin: 0 10px;
}

nav ul li a {
    color: white;
    text-decoration: none;
	font-size:18px;
    padding: 8px 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    background-color: rgba(255,255,255,0.2);
}

/* 主要内容区域 */
main {
    padding: 2rem 0;
}

.section {
    background-color: white;
    margin-bottom: 2rem;
    padding: 2rem 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.section.bg-light {
    background-color: #f8f9fa;
}

.section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
    font-size: 2rem;
    position: relative;
}

.section h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 10px auto;
}

.section h3 {
    color: #444;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* 首页样式 */
.news-list {
    display: grid;
    gap: 1.5rem;
}

.news-item {
    padding: 1rem;
    border-radius: 6px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.news-item h3, .news-item h4 {
    margin-bottom: 0.5rem;
    color: #333;
}

.news-item .date {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: 8px;
    background-color: white;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.service-item h3 {
    color: #667eea;
    margin-bottom: 1rem;
}

.cases-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.case-item {
    padding: 1.5rem;
    border-left: 4px solid #667eea;
    background-color: #f8f9fa;
}

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

.career-item {
    text-align: center;
    padding: 1rem;
}

.career-item h3 {
    color: #764ba2;
    margin-bottom: 0.5rem;
}

/* 新闻页面样式 */
.news-featured {
    margin-bottom: 2rem;
}

.news-main img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

.news-main p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.pagination a {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 5px;
    text-decoration: none;
    color: #667eea;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination a.active {
    background-color: #667eea;
    color: white;
    border-color: #667eea;
}

/* 产品页面样式 */
.product-categories {
    margin-bottom: 2rem;
}

.category-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 10px;
}

.category-list li a {
    display: inline-block;
    padding: 8px 15px;
    background-color: #f0f0f0;
    color: #333;
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.category-list li a:hover,
.category-list li a.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.product-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.product-item:hover {
    transform: translateY(-5px);
}

.product-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-info {
    padding: 1.5rem;
}

.product-info h4 {
    color: #333;
    margin-bottom: 0.5rem;
}

.product-desc {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.product-meta {
    color: #777;
    font-size: 0.9rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
}

.feature-item h4 {
    color: #667eea;
    margin-bottom: 0.5rem;
}

/* 服务页面样式 */
.services-intro {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: #555;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.service-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

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

.service-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.service-card h3 {
    color: #333;
    margin-bottom: 1rem;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

.service-process {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
}

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

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: bold;
}

.step h4 {
    color: #333;
    margin-bottom: 0.5rem;
}

/* 知识库页面样式 */
.knowledge-intro {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: #555;
}

.knowledge-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.category-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.category-card h3 {
    color: #667eea;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.knowledge-list {
    list-style: none;
}

.knowledge-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.knowledge-list li:last-child {
    border-bottom: none;
}

.knowledge-list li a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.knowledge-list li a:hover {
    color: #667eea;
}

.article-list {
    display: grid;
    gap: 1.5rem;
}

.article-item {
    padding: 1.5rem;
    border-radius: 8px;
    background-color: white;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.article-item h4 {
    margin-bottom: 0.5rem;
}

.article-item h4 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-item h4 a:hover {
    color: #667eea;
}

.article-meta {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* 常见问题页面样式 */
.faq-intro {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: #555;
}

.faq-section {
    margin-bottom: 2rem;
}

.faq-section h3 {
    color: #667eea;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 1rem;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.faq-question {
    background-color: #f8f9fa;
    padding: 1rem 1.5rem;
}

.faq-question h4 {
    color: #333;
    font-weight: normal;
}

.faq-answer {
    background-color: white;
    padding: 1rem 1.5rem;
}

.faq-answer p {
    line-height: 1.8;
}

.faq-contact {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px;
    margin-top: 2rem;
}

.faq-contact h3 {
    color: white;
    margin-bottom: 1rem;
}

.faq-contact p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: white;
    color: #667eea;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.btn:hover {
    background-color: transparent;
    color: white;
}

/* 联系我们页面样式 */
.contact-intro {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: #555;
}

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

.contact-info h3,
.departments h3 {
    color: #667eea;
    margin-bottom: 1rem;
}

.contact-info p,
.departments p {
    margin-bottom: 0.5rem;
}

.department {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    margin-bottom: 1.5rem;
}

.department h4 {
    color: #333;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.contact-map {
    margin-bottom: 2rem;
}

.map-placeholder {
    background-color: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
}

.working-hours {
    text-align: center;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.working-hours h3 {
    margin-bottom: 1rem;
}

.working-hours p {
    margin-bottom: 0.5rem;
}

/* 页面底部样式 */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 2rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: #667eea;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #667eea;
}

.footer-section p {
    color: #bdc3c7;
    margin-bottom: 0.5rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .logo {
        font-size: 1.5rem;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        margin: 5px 0;
    }
    
    .section h2 {
        font-size: 1.5rem;
    }
    
    .services-grid,
    .cases-list,
    .careers-content,
    .product-grid,
    .features-grid,
    .knowledge-categories,
    .process-steps,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .category-list {
        justify-content: center;
    }
}

blockquote {
    font-style: italic;
    text-align: center;
    font-size: 1.2rem;
    color: #555;
    border-left: none;
    padding: 1rem 0;
    margin: 1rem 0;
}