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

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

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

/* 头部样式 */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo a {
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
    text-decoration: none;
}

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

.nav ul li {
    margin-left: 30px;
}

.nav ul li a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.3s;
}

.nav ul li a:hover {
    color: #3498db;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #555;
}

/* 面包屑导航 */
.breadcrumb {
    background-color: #f1f1f1;
    padding: 15px 20px;
    margin-top: 10px;
    border-radius: 5px;
}

.breadcrumb a {
    color: #3498db;
    text-decoration: none;
}

.breadcrumb span {
    color: #777;
}

/* 英雄区域 */
.hero {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #e74c3c;
    color: white;
}

.btn-primary:hover {
    background-color: #c0392b;
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    margin-left: 15px;
}

.btn-secondary:hover {
    background-color: white;
    color: #2c3e50;
}

.cta-buttons {
    margin-top: 30px;
}

/* 服务区域 */
.services {
    padding: 80px 0;
    background-color: white;
}

.services h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #2c3e50;
}

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

.service-card {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e9ecef;
}

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

.service-card i {
    font-size: 48px;
    color: #3498db;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #2c3e50;
}

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

/* 关于预览 */
.about-preview {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.about-preview h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #2c3e50;
}

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

.feature {
    text-align: center;
    padding: 20px;
}

.feature i {
    font-size: 40px;
    color: #2ecc71;
    margin-bottom: 20px;
}

.feature h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.feature p {
    color: #666;
}

/* 新闻预览 */
.news-preview {
    padding: 80px 0;
    background-color: white;
}

.news-preview h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #2c3e50;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.news-card {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    border: 1px solid #e9ecef;
}

.news-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.news-card h3 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s;
}

.news-card h3 a:hover {
    color: #3498db;
}

.meta {
    color: #777;
    font-size: 14px;
    margin-bottom: 15px;
}

.news-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.read-more {
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
}

.read-more:hover {
    text-decoration: underline;
}

.text-center {
    text-align: center;
}

/* 浮动按钮 */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    min-width: 180px;
}

.wechat-btn {
    background-color: #09bb07;
    color: white;
}

.detail-btn {
    background-color: #3498db;
    color: white;
}

.floating-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.floating-btn i {
    margin-right: 10px;
    font-size: 20px;
}

/* 页脚 */
.footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: white;
}

.footer-section p {
    line-height: 1.8;
    opacity: 0.8;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

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

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #34495e;
    opacity: 0.7;
    font-size: 14px;
}

/* 工具类 */
.mb-30 {
    margin-bottom: 30px;
}

.mt-30 {
    margin-top: 30px;
}

/* 关于页面样式 */
.about-hero {
    background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
}

.about-content {
    padding: 80px 0;
}

.about-section {
    margin-bottom: 60px;
}

.about-section h2 {
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #3498db;
}

.about-section p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #555;
}

.advantages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.advantage {
    text-align: center;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.advantage i {
    font-size: 40px;
    color: #3498db;
    margin-bottom: 20px;
}

.advantage h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.advantage p {
    color: #666;
}

.timeline {
    position: relative;
    padding-left: 30px;
    margin-top: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: #3498db;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-year {
    position: absolute;
    left: -40px;
    top: 0;
    background-color: #3498db;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
}

.timeline-content {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    margin-left: 20px;
}

.timeline-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.timeline-content p {
    color: #666;
}

.about-section ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.about-section ul li {
    margin-bottom: 10px;
    color: #555;
}

/* 联系页面样式 */
.contact-hero {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
}

.contact-content {
    padding: 80px 0;
}

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

.contact-info h2,
.contact-form h2 {
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #3498db;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 24px;
    color: #3498db;
    margin-right: 15px;
    margin-top: 5px;
}

.info-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.info-content p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.info-content ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.info-content ol li {
    margin-bottom: 8px;
    color: #555;
}

.contact-form {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2c3e50;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 16px;
    transition: border-color 0.3s;
}

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

.form-note {
    margin-top: 20px;
    font-size: 14px;
    color: #777;
    text-align: center;
}

.contact-faq {
    margin-bottom: 60px;
}

.contact-faq h2 {
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #3498db;
}

.faq-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

.contact-cta {
    background-color: #f8f9fa;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #e9ecef;
}

.contact-cta h2 {
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 20px;
}

.contact-cta p {
    color: #666;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* 新闻页面样式 */
.news-hero {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
}

.news-list {
    padding: 80px 0;
}

.news-filter {
    margin-bottom: 40px;
}

.news-filter h2 {
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 20px;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 8px 20px;
    border: 1px solid #3498db;
    background-color: white;
    color: #3498db;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: #3498db;
    color: white;
}

.news-items {
    margin-bottom: 50px;
}

.news-item {
    display: flex;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.news-item:last-child {
    border-bottom: none;
}

.news-date {
    flex-shrink: 0;
    width: 100px;
    text-align: center;
    margin-right: 30px;
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.news-date .day {
    display: block;
    font-size: 32px;
    font-weight: bold;
    color: #3498db;
    line-height: 1;
}

.news-date .month {
    display: block;
    font-size: 18px;
    color: #2c3e50;
    margin: 5px 0;
}

.news-date .year {
    display: block;
    font-size: 14px;
    color: #777;
}

.news-content {
    flex-grow: 1;
}

.news-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.news-content h3 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s;
}

.news-content h3 a:hover {
    color: #3498db;
}

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

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

.news-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 50px;
}

.page-btn {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 5px;
    background-color: #f8f9fa;
    color: #555;
    text-decoration: none;
    transition: all 0.3s;
}

.page-btn:hover,
.page-btn.active {
    background-color: #3498db;
    color: white;
}

.page-dots {
    color: #777;
}

.next-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: #f8f9fa;
    color: #555;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
}

.next-btn:hover {
    background-color: #3498db;
    color: white;
}

.news-cta {
    background-color: #f8f9fa;
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid #e9ecef;
}

.news-cta h2 {
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 20px;
}

.news-cta p {
    color: #666;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

/* 新闻详情页面样式 */
.news-detail {
    padding: 80px 0;
}

.news-header {
    margin-bottom: 40px;
    text-align: center;
}

.news-header h1 {
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.3;
}

.news-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    color: #777;
}

.news-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.news-tags a {
    display: inline-block;
    padding: 5px 15px;
    background-color: #f8f9fa;
    color: #555;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s;
    border: 1px solid #e9ecef;
}

.news-tags a:hover {
    background-color: #3498db;
    color: white;
    border-color: #3498db;
}

.news-content {
    max-width: 800px;
    margin: 0 auto;
}

.news-image {
    margin: 30px 0;
    text-align: center;
}

.news-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.news-image figcaption {
    margin-top: 10px;
    font-size: 14px;
    color: #777;
    font-style: italic;
}

.news-content h2 {
    font-size: 28px;
    color: #2c3e50;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

.news-content h3 {
    font-size: 24px;
    color: #2c3e50;
    margin: 30px 0 15px;
}

.news-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #555;
}

.news-content ul,
.news-content ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.news-content ul li,
.news-content ol li {
    margin-bottom: 10px;
    color: #555;
    line-height: 1.6;
}

.news-conclusion {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin: 40px 0;
    border: 1px solid #e9ecef;
}

.news-conclusion h3 {
    color: #2c3e50;
    margin-top: 0;
}

.news-share {
    margin: 40px 0;
    text-align: center;
}

.news-share h3 {
    margin-bottom: 20px;
}

.share-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: #f8f9fa;
    color: #555;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
    border: 1px solid #e9ecef;
}

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

.wechat-share:hover {
    background-color: #09bb07;
    color: white;
    border-color: #09bb07;
}

.weibo-share:hover {
    background-color: #e6162d;
    color: white;
    border-color: #e6162d;
}

.qq-share:hover {
    background-color: #12b7f5;
    color: white;
    border-color: #12b7f5;
}

.link-share:hover {
    background-color: #3498db;
    color: white;
    border-color: #3498db;
}

.news-navigation {
    display: flex;
    justify-content: space-between;
    margin: 50px 0;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.prev-news,
.next-news {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: #555;
    transition: color 0.3s;
    max-width: 45%;
}

.prev-news:hover,
.next-news:hover {
    color: #3498db;
}

.prev-news i,
.next-news i {
    font-size: 20px;
}

.prev-news h4,
.next-news h4 {
    font-size: 16px;
    margin: 0;
    color: #2c3e50;
}

.prev-news span,
.next-news span {
    display: block;
    font-size: 14px;
    color: #777;
}

.related-news {
    margin: 50px 0;
}

.related-news h3 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

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

.related-item {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.related-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.related-item h4 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s;
}

.related-item h4 a:hover {
    color: #3498db;
}

.related-meta {
    font-size: 14px;
    color: #777;
}

/* 产品页面样式 */
.products-hero {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.products-overview {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.products-overview h2 {
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #666;
    line-height: 1.6;
}

.category-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.category-link {
    display: inline-block;
    padding: 10px 25px;
    background-color: white;
    color: #3498db;
    text-decoration: none;
    border-radius: 30px;
    border: 2px solid #3498db;
    transition: all 0.3s;
    font-weight: 500;
}

.category-link:hover,
.category-link.active {
    background-color: #3498db;
    color: white;
}

.product-detail {
    padding: 80px 0;
    border-bottom: 1px solid #eee;
}

.product-detail:last-child {
    border-bottom: none;
}

.product-header {
    text-align: center;
    margin-bottom: 50px;
}

.product-header h2 {
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 20px;
}

.product-header p {
    max-width: 700px;
    margin: 0 auto;
    color: #666;
    line-height: 1.6;
}

.product-content h3 {
    font-size: 28px;
    color: #2c3e50;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

.product-features ul {
    margin-left: 20px;
    margin-bottom: 30px;
}

.product-features ul li {
    margin-bottom: 15px;
    color: #555;
    line-height: 1.6;
}

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

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

.step-number {
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background-color: #3498db;
    color: white;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step-content h4 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.step-content p {
    color: #666;
    line-height: 1.6;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.advantage-item {
    text-align: center;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.advantage-item i {
    font-size: 40px;
    color: #3498db;
    margin-bottom: 20px;
}

.advantage-item h4 {
    font-size: 22px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.advantage-item p {
    color: #666;
    line-height: 1.6;
}

.products-cta {
    background-color: #f8f9fa;
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid #e9ecef;
    margin-top: 60px;
}

.products-cta h2 {
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 20px;
}

.products-cta p {
    color: #666;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
}