:root {
    --primary: #0066cc;
    --secondary: #ff6600;
    --dark: #003366;
    --light: #f8f9fa;
    --gray: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

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

/* 导航栏样式 */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo h1 {
    font-size: 24px;
    color: var(--dark);
    margin-left: 10px;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    transition: all 0.3s ease;
}

.nav-links li { margin-left: 25px; }
.nav-links a { text-decoration: none; color: var(--dark); font-weight: 500; transition: color 0.3s; display: block; padding: 5px 0; }
.nav-links a:hover { color: var(--primary); }

/* 移动端菜单按钮 */
.menu-toggle { display: none; flex-direction: column; justify-content: space-between; width: 30px; height: 21px; background: transparent; border: none; cursor: pointer; padding: 0; z-index: 1001; }
.menu-toggle span { display: block; height: 3px; width: 100%; background-color: var(--dark); border-radius: 3px; transition: all 0.3s ease; }
.menu-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* 页面内容区域 */
.page-hero { background: linear-gradient(rgba(0, 51, 102, 0.8), rgba(0, 51, 102, 0.9)), url('https://images.unsplash.com/photo-1542744095-fcf48d80b0fd?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1776&q=80'); background-size: cover; background-position: center; color: white; padding: 150px 0 80px; text-align: center; margin-top: 70px; }
.page-hero h1 { font-size: 42px; margin-bottom: 20px; }
.page-hero p { font-size: 18px; max-width: 700px; margin: 0 auto; }
.page-content { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 36px; color: var(--dark); margin-bottom: 15px; }
.section-title p { color: var(--gray); max-width: 600px; margin: 0 auto; }

/* 首页样式 */
.hero { background: linear-gradient(rgba(0, 51, 102, 0.8), rgba(0, 51, 102, 0.9)), url('https://images.unsplash.com/photo-1542744095-fcf48d80b0fd?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1776&q=80'); background-size: cover; background-position: center; color: white; padding: 180px 0 100px; text-align: center; margin-top: 70px; }
.hero h2 { font-size: 48px; margin-bottom: 20px; }
.hero p { font-size: 20px; max-width: 700px; margin: 0 auto 30px; }
.hero-buttons { display: flex; justify-content: center; gap: 15px; }
.btn { padding: 12px 30px; border-radius: 4px; font-weight: 500; cursor: pointer; transition: all 0.3s; text-decoration: none; display: inline-block; text-align: center; font-size: 18px; }
.btn-primary { background-color: var(--primary); color: white; border: none; }
.btn-primary:hover { background-color: var(--dark); }
.btn-secondary { background-color: var(--secondary); color: white; }
.btn-secondary:hover { background-color: #e55c00; }

/* 服务区域样式 */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-card { background: white; border-radius: 8px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: transform 0.3s; }
.service-card:hover { transform: translateY(-10px); }
.service-icon { background-color: var(--primary); color: white; font-size: 40px; padding: 30px; text-align: center; }
.service-content { padding: 30px; }
.service-content h3 { font-size: 22px; margin-bottom: 15px; color: var(--dark); }
.service-content ul { list-style: none; margin-bottom: 20px; }
.service-content ul li { margin-bottom: 8px; padding-left: 20px; position: relative; }
.service-content ul li:before { content: "✓"; color: var(--primary); position: absolute; left: 0; }

/* 计算器样式 */
.calculator { padding: 100px 0; background-color: white; }
.calc-container { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: stretch; }
.calc-form { background-color: var(--light); padding: 30px; border-radius: 8px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; }
.form-control { width: 100%; padding: 12px 15px; border: 1px solid #ddd; border-radius: 4px; font-size: 16px; }
.calc-result { background-color: var(--dark); color: white; padding: 30px; border-radius: 8px; text-align: center; display: flex; flex-direction: column; justify-content: center; }
.calc-result h3 { font-size: 24px; margin-bottom: 20px; }
.price { font-size: 48px; font-weight: bold; margin: 20px 0; color: var(--secondary); }

/* 评价区域样式 */
.testimonials { padding: 100px 0; background-color: var(--light); }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.testimonial-card { background: white; padding: 30px; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.testimonial-text { font-style: italic; margin-bottom: 20px; color: var(--gray); }
.testimonial-author { display: flex; align-items: center; }
.author-avatar { width: 50px; height: 50px; border-radius: 50%; background-color: #ddd; margin-right: 15px; display: flex; align-items: center; justify-content: center; color: var(--primary); font-weight: bold; }
.author-info h4 { margin-bottom: 5px; }
.author-info p { color: var(--gray); font-size: 14px; }

/* 关于我们页面样式 */
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.about-text h3 { font-size: 28px; color: var(--dark); margin-bottom: 20px; }
.about-text p { margin-bottom: 20px; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.stat-item { text-align: center; padding: 20px; background-color: var(--light); border-radius: 8px; }
.stat-number { font-size: 36px; font-weight: bold; color: var(--primary); margin-bottom: 10px; }
.stat-text { color: var(--gray); }

/* 价格时效页面样式 */
.pricing-tables { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.pricing-card { background: white; border-radius: 8px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); text-align: center; position: relative; }
.pricing-header { background-color: var(--primary); color: white; padding: 30px; }
.pricing-header h3 { font-size: 24px; margin-bottom: 10px; }
.pricing-price { font-size: 42px; font-weight: bold; margin: 20px 0; }
.pricing-features { padding: 30px; }
.pricing-features ul { list-style: none; margin-bottom: 30px; }
.pricing-features ul li { margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px solid #eee; }

/* 操作流程页面样式 */
.process-steps { display: flex; flex-direction: column; position: relative; max-width: 800px; margin: 0 auto; }
.process-steps:before { content: ''; position: absolute; left: 30px; top: 0; bottom: 0; width: 2px; background-color: var(--primary); }
.process-step { display: flex; margin-bottom: 40px; position: relative; }
.step-number { width: 60px; height: 60px; background-color: var(--primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: bold; margin-right: 30px; flex-shrink: 0; z-index: 1; }
.step-content { background-color: var(--light); padding: 25px; border-radius: 8px; flex: 1; }
.step-content h3 { font-size: 22px; margin-bottom: 10px; color: var(--dark); }

/* 新闻资讯页面样式 */
.news-categories { display: flex; justify-content: center; flex-wrap: wrap; gap: 15px; margin-bottom: 40px; }
.category-btn { padding: 8px 20px; background-color: var(--light); border: 1px solid #ddd; border-radius: 30px; cursor: pointer; transition: all 0.3s; font-size: 14px; }
.category-btn:hover, .category-btn.active { background-color: var(--primary); color: white; border-color: var(--primary); }
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.news-card { background: white; border-radius: 8px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: transform 0.3s, box-shadow 0.3s; cursor: pointer; }
.news-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.news-image { height: 200px; background-color: #ddd; background-size: cover; background-position: center; }
.news-content { padding: 25px; }
.news-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 14px; color: var(--gray); }
.news-category { background-color: var(--primary); color: white; padding: 3px 10px; border-radius: 3px; font-size: 12px; }
.news-content h3 { font-size: 20px; margin-bottom: 15px; color: var(--dark); line-height: 1.4; }
.news-content p { margin-bottom: 15px; color: var(--gray); line-height: 1.6; }

/* 新闻内容页面样式 */
.news-article { max-width: 800px; margin: 0 auto; }
.article-header { margin-bottom: 40px; }
.article-meta { display: flex; align-items: center; margin-bottom: 20px; color: var(--gray); font-size: 14px; }
.article-date { margin-right: 20px; }
.article-category { background-color: var(--primary); color: white; padding: 3px 10px; border-radius: 3px; font-size: 12px; }
.article-image { width: 100%; height: 400px; background-color: #e9ecef; background-size: cover; background-position: center; border-radius: 8px; margin-bottom: 30px; }
.article-content { line-height: 1.8; }
.article-content img { max-width: 100%; height: auto; display: block; }
.article-content h2 { font-size: 24px; margin: 30px 0 15px; color: var(--dark); }
.article-content p { margin-bottom: 20px; }
.article-content ul, .article-content ol { margin-bottom: 20px; padding-left: 20px; }
.article-content li { margin-bottom: 10px; }
.article-footer { margin-top: 50px; padding-top: 30px; border-top: 1px solid #eee; }
.article-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.tag { background-color: var(--light); color: var(--dark); padding: 5px 12px; border-radius: 20px; font-size: 14px; }
.article-navigation { display: flex; justify-content: space-between; }
.nav-btn { display: flex; align-items: center; color: var(--primary); text-decoration: none; font-weight: 500; }
.nav-btn i { margin: 0 10px; }

/* 联系我们页面样式 */
.contact-container { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info { background-color: var(--light); padding: 30px; border-radius: 8px; }
.contact-item { display: flex; margin-bottom: 25px; }
.contact-icon { width: 50px; height: 50px; background-color: var(--primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-right: 15px; flex-shrink: 0; }
.contact-details h3 { font-size: 18px; margin-bottom: 5px; color: var(--dark); }
.contact-form { background-color: var(--light); padding: 30px; border-radius: 8px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; }
.form-control { width: 100%; padding: 12px 15px; border: 1px solid #ddd; border-radius: 4px; font-size: 16px; }
textarea.form-control { min-height: 150px; resize: vertical; }
.map-container { margin-top: 50px; border-radius: 8px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.map-placeholder { height: 400px; background-color: #e9ecef; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; color: var(--gray); font-size: 18px; }

/* 页脚样式 */
footer { background-color: var(--dark); color: white; padding: 40px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-col h3 { font-size: 18px; margin-bottom: 15px; position: relative; padding-bottom: 8px; }
.footer-col h3:after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background-color: var(--secondary); }
.contact-info-list { list-style: none; }
.contact-info-list li { margin-bottom: 12px; display: flex; align-items: flex-start; font-size: 14px; }
.contact-info-list i { margin-right: 10px; color: var(--secondary); min-width: 16px; }
.copyright { text-align: center; padding: 16px 0; color: #cfd8e3; font-size: 13px; }
.footer-link { color: #609ad6; text-decoration: none; }
.footer-link:hover { color: #e55c00; }
.footer-text { display: inline; }
.footer-item { display: inline; }
.social-links { display: flex; gap: 15px; margin-top: 15px; }
.social-links a { color: white; font-size: 18px; transition: color 0.3s; }
.social-links a:hover { color: var(--secondary); }

/* 响应式设计 */
@media (max-width: 992px) {
    .about-content, .contact-container, .calc-container { grid-template-columns: 1fr; }
    .page-hero h1, .hero h2 { font-size: 36px; }
    .hero p, .page-hero p { font-size: 18px; }
    .nav-links { position: fixed; top: 70px; left: 0; width: 100%; background-color: white; flex-direction: column; align-items: center; padding: 20px 0; box-shadow: 0 5px 10px rgba(0,0,0,0.1); transform: translateY(-150%); opacity: 0; visibility: hidden; }
    .nav-links.active { transform: translateY(0); opacity: 1; visibility: visible; }
    .nav-links li { margin: 10px 0; }
    .menu-toggle { display: flex; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 768px) {
    .navbar { padding: 12px 0; }
    .logo h1 { font-size: 20px; }
    .page-hero, .hero { padding: 130px 0 60px; margin-top: 60px; }
    .page-hero h1, .hero h2 { font-size: 32px; }
    .page-hero p, .hero p { font-size: 16px; }
    .page-content { padding: 60px 0; }
    .section-title h2 { font-size: 28px; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .btn-hero { width: 100%; max-width: 300px; margin-bottom: 10px; }
    .about-stats { grid-template-columns: 1fr; }
    .process-steps:before { left: 25px; }
    .step-number { width: 50px; height: 50px; margin-right: 20px; }
    footer { padding: 30px 0 15px; }
    .footer-col h3 { font-size: 16px; margin-bottom: 12px; }
    .contact-info-list li { margin-bottom: 6px; }
    .contact-info-list li { font-size: 13px; }
    .copyright { font-size: 12px; padding: 15px 0; }
    .news-categories { gap: 10px; }
    .category-btn { padding: 6px 15px; font-size: 13px; }
}

@media (max-width: 480px) {
    .container { padding: 0 15px; }
    .page-hero, .hero { padding: 110px 0 50px; }
    .page-hero h1, .hero h2 { font-size: 28px; }
    .section-title h2 { font-size: 24px; }
    .footer-col { padding: 12px 0; }
    .footer-col h3 { font-size: 15px; }
    .contact-info-list li { font-size: 12px; }
    .social-links { gap: 12px; }
    .social-links a { font-size: 16px; }
    .news-categories { justify-content: flex-start; overflow-x: auto; padding-bottom: 10px; }
    .footer-item { display: block; margin-top: 6px; }
    .footer-item:first-child { margin-top: 0; }
}

@media (min-width: 481px) {
    .footer-item + .footer-item::before { content: " / "; }
}

/* 页面切换样式 */
.page { display: none; }
.page.active { display: block; }

.text-primary { color: var(--primary); }
.text-dark { color: var(--dark); }
.text-muted { color: #bbb; }
.fs-14 { font-size: 14px; }
.mr-15 { margin-right: 15px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-80 { margin-top: 80px; }
.mb-15 { margin-bottom: 15px; }
.mb-30 { margin-bottom: 30px; }
.w-100 { width: 100%; }
.rounded-8 { border-radius: 8px; }
.bg-secondary { background-color: var(--secondary); }
.card-light { background-color: var(--light); padding: 30px; border-radius: 8px; }
.materials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.list-unstyled { list-style-type: none; }
.list-item { margin-bottom: 10px; padding-left: 20px; position: relative; }
.icon-left { position: absolute; left: 0; }
.table { width: 100%; border-collapse: collapse; }
.table th { padding: 15px; text-align: left; }
.table td { padding: 15px; }
.table-primary-header { background-color: var(--primary); color: white; }
.table-row { border-bottom: 1px solid #ddd; }
.news-img-1 { background-image: url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1770&q=80'); }
.news-img-2 { background-image: url('https://images.unsplash.com/photo-1544620347-c4fd4a3d5957?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1769&q=80'); }
.news-img-3 { background-image: url('https://images.unsplash.com/photo-1565689228866-1d7afc41b682?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1770&q=80'); }
.news-img-4 { background-image: url('https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1770&q=80'); }
.news-img-5 { background-image: url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1770&q=80'); }
.news-img-6 { background-image: url('https://images.unsplash.com/photo-1544620347-c4fd4a3d5957?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1769&q=80'); }
.article-image-default { background-image: url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1770&q=80'); }
.site-logo { height: 60px; width: auto; margin-right: 10px; display: none; }
/* 计算器表单横排 */
.inline-row { display: flex; gap: 15px; align-items: flex-start; flex-wrap: nowrap; }
.calc-form .inline-row { margin-bottom: 16px; }
.inline-row .form-group { flex: 1; margin-bottom: 0; }
.inline-row .form-control { width: 100%; }
.calc-form .weight-group { flex: 0 0 180px; }
.calc-form .size-group { flex: 1 1 auto; }
.calc-form .size-group .inline-row { gap: 10px; }
.calc-form .size-group .inline-row .form-control { min-width: 120px; }
.calc-form select.form-control { appearance: none; -webkit-appearance: none; -moz-appearance: none; background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M1.41.58L6 5.17l4.59-4.59L12 1.99 6 8 .01 2z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: calc(100% - 24px) center; background-size: 12px; padding-right: 40px; }
.calc-form select.form-control::-ms-expand { display: none; }
.calc-form .inline-row.row-size { margin-bottom: 8px; }
.calc-form .inline-row.row-weight { margin-top: 0; }