 /* ===== 非关键CSS - 异步加载 ===== */

/* 功能对比表格样式 */
.comparison {
    background: var(--light);
    padding: 80px 0;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: var(--shadow);
    border-radius: 10px;
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.comparison-table th {
    background: var(--primary);
    color: white;
    font-weight: 600;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.feature-category {
    background: var(--light);
    font-weight: bold;
}

.feature-name {
    font-weight: 500;
}

.checkmark {
    color: var(--success);
}

.cross {
    color: var(--danger);
}

/* FAQ区域完整样式 */
.faq {
    padding: 80px 0;
    background: white;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid var(--border);
    border-radius: 5px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.faq-question {
    padding: 20px;
    background: white;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

/* CTA区域完整样式 */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-primary:hover {
    background: #c9970c;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

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

.btn-outline:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-2px);
}

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

/* 弹窗完整样式 */
.modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.modal-header {
    border-bottom: 1px solid #f0f0f0;
    padding: 24px 30px;
    background: linear-gradient(135deg, #1a365d 0%, #2d4a7c 100%);
}

.modal-header .modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
}

.modal-header .btn-close {
    filter: invert(1);
    opacity: 0.8;
}

.modal-body {
    padding: 30px;
}

/* 调整弹框宽度 */
.modal-dialog.modal-lg {
    max-width: 800px;
    width: 90vw;
}

/* 在大屏幕上显示更宽 */
@media (min-width: 1200px) {
    .modal-dialog.modal-lg {
        max-width: 1000px;
    }
}

/* 表单样式优化 */
.form-control, .form-select {
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    padding: 10px 12px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: #1a365d;
    box-shadow: 0 0 0 0.2rem rgba(26, 54, 93, 0.25);
}

/* 商务卡片样式 */
.business-card {
    border: 1px solid #e8ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: white;
}

.business-card:hover {
    border-color: #007bff;
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.1);
}

/* 商务按钮样式 */
.btn-business {
    background: linear-gradient(135deg, #1a365d 0%, #2d4a7c 100%);
    border: none;
    color: white;
    font-weight: 500;
    padding: 12px 24px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-business:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(26, 54, 93, 0.3);
    color: white;
}

.btn-business-outline {
    border: 2px solid #1a365d;
    color: #1a365d;
    background: transparent;
    font-weight: 500;
    padding: 10px 22px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-business-outline:hover {
    background: #1a365d;
    color: white;
    transform: translateY(-1px);
}

/* 联系信息样式优化 */
.contact-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
}

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

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    color: white;
}

.contact-icon.phone {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.contact-icon.wechat {
    background: linear-gradient(135deg, #07c160, #05a050);
}

.contact-icon.email {
    background: linear-gradient(135deg, #6f42c1, #5a2d9c);
}

.contact-icon.video {
    background: linear-gradient(135deg, #dc3545, #c82333);
}

.contact-info strong {
    display: block;
    font-size: 1.1rem;
    color: #1a365d;
}

.contact-info small {
    color: #6c757d;
    font-size: 0.875rem;
}

/* 功能区块样式 */
.feature-block {
    text-align: center;
    padding: 25px 20px;
    border: 1px solid #e8ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
    height: 100%;
    background: white;
}

.feature-block:hover {
    border-color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.5rem;
}

.feature-icon.primary { 
    background: rgba(26, 54, 93, 0.1); 
    color: #1a365d; 
}

.feature-icon.success { 
    background: rgba(40, 167, 69, 0.1); 
    color: #28a745; 
}

.feature-icon.warning { 
    background: rgba(255, 193, 7, 0.1); 
    color: #856404; 
}

.text-business {
    color: #1a365d;
}

/* 自定义提示样式 */
.custom-alert {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    min-width: 300px;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: none;
    border-radius: 8px;
}

/* ===== 响应式设计完整版 ===== */
@media (max-width: 1200px) {
    .pricing-tiers {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .banner-slide h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .page-header {
        padding: 40px 0;
    }
    
    .pricing, .comparison, .faq, .cta-section {
        padding: 60px 0;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .banner-slider {
        height: 160px;
    }
    
    .banner-slide h1 {
        font-size: 2rem;
    }
    
    .banner-slide p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .pricing-tiers {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .banner-slider {
        height: 140px;
    }
    
    .banner-slide h1 {
        font-size: 1.8rem;
    }
    
    .banner-slide p {
        font-size: 1rem;
    }
    
    .comparison-table {
        font-size: 0.9rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 10px 15px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        text-align: center;
        margin-left: 0 !important;
    }
    
    .btn-outline {
        margin-left: 0;
        margin-top: 10px;
    }
    
    .modal-dialog.modal-lg {
        width: 95vw;
        margin: 10px auto;
    }
}

@media (max-width: 576px) {
    .page-header {
        padding: 30px 0;
    }
    
    .pricing, .comparison, .faq, .cta-section {
        padding: 40px 0;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    .section-title p {
        font-size: 1rem;
    }
    
    .banner-slider {
        height: 120px;
    }
    
    .banner-slide h1 {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }
    
    .banner-slide p {
        font-size: 0.9rem;
    }
    
    .pricing-header, .pricing-body {
        padding: 20px;
    }
    
    .pricing-price {
        font-size: 1.8rem;
    }
    
    .comparison-table {
        font-size: 0.8rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 8px 10px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .modal-header {
        padding: 15px 20px;
    }
    
    .feature-block {
        padding: 20px 15px;
    }
}

/* ===== 打印样式 ===== */
@media print {
    .page-header, .cta-section, .pricing-button, .btn {
        break-inside: avoid;
    }
    
    .pricing-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .pricing-card:hover {
        transform: none;
    }
}