/* 定价方案样式 */
.pricing-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.pricing-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 40px;
    transition: transform 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.featured {
    border: 2px solid #007bff;
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
}

.pricing-header h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

.price {
    font-size: 36px;
    color: #007bff;
    font-weight: bold;
}

.price .currency {
    font-size: 24px;
    vertical-align: super;
}

.price .period {
    font-size: 16px;
    color: #666;
    font-weight: normal;
}

.pricing-features {
    margin: 30px 0;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    padding: 10px 0;
    color: #666;
    display: flex;
    align-items: center;
}

.pricing-features i {
    color: #28a745;
    margin-right: 10px;
}

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

/* 功能对比表格样式 */
.feature-comparison {
    padding: 80px 0;
    background-color: #fff;
}

.comparison-table-wrapper {
    margin-top: 50px;
    overflow-x: auto;
    position: relative;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

/* 固定表头样式 */
.comparison-table thead {
    position: sticky;
    top: 0;
    z-index: 2;
    background-color: #fff;
}

.comparison-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #333;
    padding: 15px;
    text-align: center;
    border: 1px solid #eee;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.comparison-table td {
    padding: 15px;
    text-align: center;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    background-color: #fff;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    text-align: left;
    background-color: #f8f9fa;
    font-weight: 500;
}

/* 行悬停效果 */
.comparison-table tbody tr {
    transition: all 0.3s ease;
}

.comparison-table tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.02);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
    border-radius: 4px;
}

.comparison-table tbody tr td {
    transition: all 0.3s ease;
}

.comparison-table tbody tr:hover td:first-child {
    font-weight: 500;
    color: #0d6efd;
}

/* 列悬停效果 */
.comparison-table th:hover,
.comparison-table td:hover {
    position: relative;
    z-index: 1;
}

.comparison-table th:hover::after,
.comparison-table td:hover::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    z-index: -1;
}

/* 功能说明图标和提示框 */
.feature-help {
    display: inline-flex;
    align-items: center;
    margin-left: 5px;

    position: relative;
}

.feature-help i {
    color: #6c757d;
    font-size: 14px;
    transition: color 0.3s ease;
}

.feature-help:hover i {
    color: #007bff;
}

.feature-tooltip {
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    background: #333;
    color: #fff;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-left: 10px;
}

.feature-tooltip::before {
    content: '';
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-right-color: #333;
}

.feature-help:hover .feature-tooltip {
    opacity: 1;
    visibility: visible;
}

.comparison-table i.bi-check-circle-fill {
    color: #28a745;
    font-size: 20px;
}

.comparison-table i.bi-x-circle-fill {
    color: #dc3545;
    font-size: 20px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .feature-tooltip {
        display: none;
    }
}

/* FAQ部分样式 */
.faq-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.faq-item {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.faq-item h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 20px;
}

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

/* 响应式设计 */
@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 10px;
        font-size: 14px;
    }
} 
} 