/* pricing.css - 价格方案页面样式 */

/* Banner 区域 */
.banner {
    position: relative;
}

.banner .banner-text {
    position: absolute;
    top: 120px;
    left: 0;
    right: 0;
    z-index: 10;
    color: white;
    padding: 60px 0;
}

/* 副标题 */
.title2 {
    width: 90%;
    margin: 24px auto;
    font-size: 16px;
    color: #666;
}

/* 版本对比表格 */
.pricing-section {
    padding: 60px 0;
}

.pricing-cards {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-bottom: 40px;
}

.pricing-card {
    background: #fff;
    border-radius: 12px;
    border: 2px solid #e8e8e8;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 36px 28px;
    flex: 1;
    max-width: 360px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.pricing-card.featured {
    border-color: #1890ff;
}

.pricing-card.featured::before {
    content: '推荐';
    position: absolute;
    top: 16px;
    right: -28px;
    background: #1890ff;
    color: #fff;
    padding: 4px 36px;
    font-size: 12px;
    transform: rotate(45deg);
}

.pricing-card-name {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.pricing-card-price {
    font-size: 40px;
    font-weight: 700;
    color: #1890ff;
    margin: 16px 0;
}

.pricing-card-price .unit {
    font-size: 14px;
    font-weight: 400;
    color: #999;
}

.pricing-card-price .currency {
    font-size: 20px;
}

.pricing-card-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: left;
}

.pricing-card-desc .label {
    font-weight: 600;
    color: #333;
}

.pricing-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    text-align: left;
}

.pricing-card-features li {
    padding: 6px 0;
    font-size: 14px;
    color: #555;
    border-bottom: 1px dashed #eee;
}

.pricing-card-features li::before {
    content: '✓';
    color: #52c41a;
    font-weight: 700;
    margin-right: 8px;
}

.pricing-card-features li.disabled {
    color: #ccc;
}

.pricing-card-features li.disabled::before {
    content: '—';
    color: #ccc;
}

.pricing-card-btn {
    display: inline-block;
    padding: 10px 32px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.pricing-card-btn.primary {
    background: #1890ff;
    color: #fff;
}

.pricing-card-btn.primary:hover {
    background: #40a9ff;
}

.pricing-card-btn.outline {
    background: transparent;
    color: #1890ff;
    border: 1px solid #1890ff;
}

.pricing-card-btn.outline:hover {
    background: #e6f7ff;
}

/* 监控版说明 */
.pricing-note {
    background: #f6f8fa;
    border-radius: 8px;
    padding: 20px 24px;
    margin: 24px 60px;
    font-size: 16px;
    color: #666;
    line-height: 1.8;
}

.pricing-note strong {
    color: #333;
}

.pricing-note ol {
    margin: 0;
    padding-left: 24px;
}

.pricing-note ol li {
    margin-bottom: 8px;
}

/* 功能对比表 */
.compare-section {
    padding: 40px 0 60px;
}

.compare-table-wrapper {
    overflow-x: auto;
    margin-top: 30px;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.compare-table thead th {
    background: #1890ff;
    color: #fff;
    padding: 14px 16px;
    text-align: center;
    font-weight: 600;
    white-space: nowrap;
}

.compare-table thead th:first-child {
    text-align: left;
    border-radius: 8px 0 0 0;
}

.compare-table thead th:last-child {
    border-radius: 0 8px 0 0;
}

.compare-table tbody td {
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.compare-table tbody td:first-child {
    text-align: left;
    font-weight: 500;
    color: #333;
}

.compare-table tbody tr:hover {
    background: #f0f7ff;
}

.compare-table .module-row td {
    background: #fafafa;
    font-weight: 700;
    color: #1890ff;
    border-bottom: 2px solid #e8e8e8;
}

.compare-table .check {
    color: #52c41a;
    font-weight: 700;
    font-size: 16px;
}

.compare-table .cross {
    color: #d9d9d9;
}

.compare-table .extra {
    color: #fa8c16;
    font-size: 12px;
}

/* GPS设备价格表 */
.device-section {
    padding: 40px 0 60px;
    background: #f9fafb;
}

.device-table {
    width: 90%;
    margin: 30px auto 0;
    border-collapse: collapse;
    font-size: 14px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.device-table thead th {
    background: #1890ff;
    color: #fff;
    padding: 14px 20px;
    text-align: center;
    font-weight: 600;
}

.device-table thead th:first-child {
    text-align: left;
}

.device-table tbody td {
    padding: 12px 20px;
    border-bottom: 1px solid #f0f0f0;
    text-align: center;
}

.device-table tbody td:first-child {
    text-align: left;
    font-weight: 500;
}

.device-table tbody tr:hover {
    background: #f0f7ff;
}

.device-table .price-original {
    text-decoration: line-through;
    color: #999;
    margin-right: 8px;
}

.device-table .price-sale {
    color: #f5222d;
    font-weight: 700;
}

.device-note {
    text-align: center;
    margin-top: 16px;
    font-size: 13px;
    color: #999;
}

/* 优惠方案 */
.discount-section {
    padding: 40px 0 60px;
}

.discount-cards {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.discount-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 32px;
    width: 340px;
    color: #fff;
    text-align: center;
}

.discount-card:nth-child(2) {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.discount-card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.discount-card-desc {
    font-size: 18px;
    line-height: 1.8;
    opacity: 0.9;
}

.discount-card-highlight {
    font-size: 36px;
    font-weight: 700;
    margin: 16px 0;
}

/* FAQ入口 */
.pricing-faq-entry {
    padding: 40px 0;
}

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

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

    .discount-cards {
        flex-direction: column;
        align-items: center;
    }

    .discount-card {
        width: 100%;
        max-width: 360px;
    }

    .compare-table {
        font-size: 12px;
    }

    .compare-table thead th,
    .compare-table tbody td {
        padding: 8px 6px;
    }
}
