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

body {
    font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* 容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
.header {
    background-color: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    align-items: center;
}

.logo-container {
    margin-right: 20px;
}

.logo-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

.logo-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #006633;
    margin-bottom: 5px;
}

.language-switch {
    display: flex;
    gap: 10px;
}

.lang-btn {
    padding: 5px 15px;
    border: 1px solid #006633;
    background-color: #fff;
    color: #006633;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.lang-btn:hover {
    background-color: #f0f9f0;
}

.lang-btn.active {
    background-color: #006633;
    color: #fff;
}

.slogan {
    font-size: 14px;
    color: #666;
}

/* 英雄区域样式 */
.hero {
    background: linear-gradient(135deg, #006633 0%, #00994d 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.hero h2 {
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: bold;
}

.hero p {
    font-size: 18px;
    opacity: 0.9;
}

/* 通用 section 样式 */
section {
    padding: 60px 0;
}

section h3 {
    font-size: 24px;
    margin-bottom: 40px;
    text-align: center;
    color: #333;
    font-weight: bold;
}

/* 套餐卡片样式 */
.pricing {
    background-color: #fff;
}

.pricing-cards {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.pricing-card {
    flex: 1;
    min-width: 300px;
    background-color: #fafafa;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.pricing-card.active {
    background-color: #e6f7ff;
    border: 2px solid #1890ff;
}

.card-header {
    text-align: center;
    margin-bottom: 25px;
}

.card-header h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
    font-weight: bold;
}

.price {
    font-size: 28px;
    font-weight: bold;
    color: #006633;
    margin-bottom: 5px;
}

.price span {
    font-size: 14px;
    color: #666;
    font-weight: normal;
}

.price-english {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.description-english {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    font-style: italic;
}

.service-description {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    margin-bottom: 15px;
}

.service-description-english {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
    font-style: italic;
}

.card-body .description {
    text-align: left;
    margin-bottom: 5px;
    color: #333;
    font-size: 16px;
    font-weight: bold;
}

.features {
    list-style: none;
}

.features li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    color: #666;
}

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

/* 服务内容表格样式 */
.services {
    background-color: #fafafa;
}

.services-table {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

th {
    background-color: #fafafa;
    font-weight: bold;
    color: #333;
}

tr:hover {
    background-color: #f5f5f5;
}

.yes {
    color: #52c41a;
    font-weight: bold;
}

.no {
    color: #ff4d4f;
}

/* FAQ样式 */
.faq {
    background-color: #fff;
}

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

.faq-question {
    background-color: #fafafa;
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f0f0f0;
}

.faq-question span:first-child {
    font-weight: bold;
    color: #333;
}

.toggle-icon {
    font-size: 20px;
    font-weight: bold;
    color: #1890ff;
}

.faq-answer {
    padding: 20px;
    background-color: #fff;
    color: #666;
    border-top: 1px solid #f0f0f0;
}

/* 额外服务样式 */
.additional-services {
    background-color: #fafafa;
}

.additional-list {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.additional-list p {
    margin-bottom: 10px;
    color: #666;
}

/* 法律提醒样式 */
.legal-reminder {
    background-color: #f0f0f0;
    padding: 20px 0;
}

.reminder-text {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 15px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

/* 套餐推荐工具样式 */
.recommendation-tool {
    background-color: #fff;
    padding: 60px 0;
}

.tool-description {
    text-align: center;
    margin-bottom: 40px;
    color: #666;
    font-size: 16px;
}

.checkbox-container {
    background-color: #fafafa;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.checkbox-item {
    display: flex;
    align-items: center;
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    cursor: pointer;
}

.checkbox-item label {
    cursor: pointer;
    color: #333;
    font-size: 14px;
}

/* 推荐结果样式 */
.recommendation-result {
    background-color: #e6f7ff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid #1890ff;
}

.recommendation-result h4 {
    margin-bottom: 20px;
    color: #333;
    font-size: 18px;
}

.recommended-plan {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.recommended-plan h5 {
    font-size: 20px;
    font-weight: bold;
    color: #1890ff;
    margin-bottom: 10px;
}

.recommended-price {
    font-size: 18px;
    font-weight: bold;
    color: #52c41a;
    margin-bottom: 15px;
}

.recommended-reason {
    color: #666;
    line-height: 1.5;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .checkbox-group {
        grid-template-columns: 1fr;
    }
    
    .recommendation-tool {
        padding: 40px 0;
    }
    
    .checkbox-container,
    .recommendation-result {
        padding: 20px;
    }
}

/* 联系我们样式 */
.contact {
    background-color: #fff;
    text-align: center;
}

.contact-info {
    max-width: 600px;
    margin: 0 auto;
}

.contact-info p {
    margin-bottom: 30px;
    color: #666;
}

.contact-btn {
    background-color: #006633;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-btn:hover {
    background-color: #00994d;
}

/* 咨询选项弹窗样式 */
.consult-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    max-width: 500px;
    width: 90%;
    text-align: center;
}

.modal-content h4 {
    margin-bottom: 30px;
    color: #333;
    font-size: 18px;
}

.consult-options {
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
    gap: 20px;
}

.consult-option {
    flex: 1;
    padding: 20px;
    background-color: #fafafa;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.consult-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.consult-option h5 {
    margin-bottom: 10px;
    color: #006633;
    font-size: 16px;
}

.consult-option p {
    color: #666;
    font-size: 14px;
}

.qrcode-container {
    margin: 15px 0;
}

.qrcode-image {
    width: 150px;
    height: 150px;
    object-fit: contain;
}

.close-btn {
    background-color: #f0f0f0;
    color: #333;
    border: none;
    padding: 10px 30px;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.close-btn:hover {
    background-color: #e0e0e0;
}

/* 底部样式 */
.footer {
    background-color: #333;
    color: #fff;
    padding: 30px 0;
    text-align: center;
}

.footer p {
    font-size: 14px;
    opacity: 0.8;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .pricing-cards {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card {
        width: 100%;
        max-width: 400px;
    }

    .hero h2 {
        font-size: 24px;
    }

    .hero p {
        font-size: 16px;
    }

    section h3 {
        font-size: 20px;
    }

    th, td {
        padding: 10px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 0;
    }

    section {
        padding: 40px 0;
    }

    .pricing-card {
        padding: 20px;
    }

    .price {
        font-size: 24px;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pricing-card, .faq-item, .additional-list {
    animation: fadeIn 0.5s ease-out;
}

.pricing-card:nth-child(1) {
    animation-delay: 0.1s;
}

.pricing-card:nth-child(2) {
    animation-delay: 0.2s;
}

.pricing-card:nth-child(3) {
    animation-delay: 0.3s;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}