* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
    padding-top: 80px;
}

/* 导航栏样式 */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
}

.logo {
    font-size: 1.5em;
    font-weight: bold;
    color: #1e88e5;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #1e88e5;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    padding: 5px;
}

/* 主要内容样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.section {
    margin-bottom: 50px;
    scroll-margin-top: 100px;
}

/* 历史记录样式 */
.history-list {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    overflow: hidden;
}

.history-item {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.history-item:last-child {
    border-bottom: none;
}

.history-info {
    flex: 1;
}

.history-info h3 {
    margin: 0 0 10px;
    color: #333;
}

.history-info p {
    margin: 5px 0;
    color: #666;
}

.history-price {
    font-size: 1.2em;
    color: #1e88e5;
    font-weight: bold;
    margin-left: 20px;
}

.history-actions {
    margin-left: 20px;
}

.delete-btn {
    background: #ff5252;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    width: auto;
}

.delete-btn:hover {
    background: #ff1744;
}

.clear-all {
    background: #f44336;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-bottom: 20px;
    width: auto;
}

.clear-all:hover {
    background: #d32f2f;
}

.no-history {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 1.1em;
}

/* 帮助页面样式 */
.help-section {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    padding: 30px;
    margin-bottom: 30px;
}

.help-section h2 {
    color: #1e88e5;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.help-section h3 {
    color: #333;
    margin: 20px 0 10px;
}

.help-section p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.help-section ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 15px;
}

.help-section li {
    color: #666;
    line-height: 1.8;
    margin-bottom: 10px;
}

.help-section .tip {
    background: #f5f5f5;
    padding: 15px;
    border-left: 4px solid #1e88e5;
    margin: 20px 0;
}

.help-section .warning {
    background: #fff3e0;
    padding: 15px;
    border-left: 4px solid #ff9800;
    margin: 20px 0;
}

/* 关于我们页面样式 */
.about-section {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    padding: 30px;
    margin-bottom: 30px;
}

.about-section h2 {
    color: #1e88e5;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.about-section p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.feature-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.feature-card h3 {
    color: #333;
    margin-bottom: 10px;
}

.feature-card p {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 0;
}

.team-section {
    margin-top: 40px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.team-member {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 15px;
    background: #ddd;
}

.team-member h3 {
    color: #333;
    margin-bottom: 5px;
}

.team-member p {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.contact-info {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
}

.contact-info h3 {
    color: #333;
    margin-bottom: 15px;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-info i {
    margin-right: 10px;
    color: #1e88e5;
}

.search-form {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

input[type="text"],
input[type="number"],
select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

button {
    background-color: #1e88e5;
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #1565c0;
}

.result-section {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    display: none;
}

.result-section.active {
    display: block;
}

.price-info {
    text-align: center;
    margin-bottom: 20px;
}

.price-value {
    font-size: 2em;
    color: #1e88e5;
    font-weight: bold;
    margin: 10px 0;
}

.price-range {
    color: #666;
    font-size: 0.9em;
}

.additional-info {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* 页脚样式 */
.footer {
    background: #fff;
    padding: 40px 0;
    margin-top: 50px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
}

.footer-section h3 {
    color: #333;
    margin-bottom: 15px;
}

.footer-section p {
    color: #666;
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid #eee;
    color: #666;
}

/* 新闻动态样式 */
.news-section {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    padding: 30px;
    margin-bottom: 30px;
}

.news-section h2 {
    color: #1e88e5;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.news-item {
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 20px;
}

.news-content h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.news-content p {
    color: #666;
    margin-bottom: 10px;
    font-size: 0.9em;
    line-height: 1.6;
}

.news-date {
    color: #999;
    font-size: 0.8em;
}

/* 常见问题样式 */
.faq-section {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    padding: 30px;
    margin-bottom: 30px;
}

.faq-section h2 {
    color: #1e88e5;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.faq-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    transition: transform 0.3s;
}

.faq-item:hover {
    transform: translateY(-3px);
}

.faq-item h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.faq-item p {
    color: #666;
    font-size: 0.9em;
    line-height: 1.6;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .news-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .news-item img {
        height: 180px;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 20px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        flex-direction: column;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        margin: 10px 0;
    }

    .container {
        padding: 10px;
    }

    .search-form,
    .result-section {
        padding: 20px;
    }

    .footer-section {
        flex: 100%;
        text-align: center;
    }
}