/* 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: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: left;
}

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

.pricing-card-features {
    font-size: 14px;
    font-weight: bold;
    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;
}

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

/* 版本说明 / 硬件说明 - 卡片式布局 */
.pricing-note,
.hardware-note {
    background: linear-gradient(135deg, #f0f7ff 0%, #f6f8fa 100%);
    border: 1px solid #d9e8f7;
    border-radius: 12px;
    padding: 28px 32px;
    margin: 32px 40px;
}

.hardware-note {
    margin: 32px auto 0;
    width: 90%;
}

.note-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #d9e8f7;
}

.note-icon {
    font-size: 28px;
    line-height: 1;
}

.note-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a3a5c;
    letter-spacing: 1px;
}

.note-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.note-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #fff;
    border-radius: 10px;
    padding: 20px 24px;
    flex: 1;
    min-width: 240px;
    box-shadow: 0 2px 8px rgba(24, 144, 255, 0.08);
    border-left: 4px solid #1890ff;
    transition: transform 0.2s, box-shadow 0.2s;
}

.note-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(24, 144, 255, 0.15);
}

.note-card-icon {
    font-size: 32px;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}

.note-card-body {
    flex: 1;
}

.note-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #1890ff;
    margin-bottom: 8px;
}

.note-card-text {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
}

.note-card-text strong {
    color: #1890ff;
    font-weight: 600;
}

/* 功能对比表 */
.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: 18px;
    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: 40px 36px;
    flex: 1;
    min-width: 280px;
    max-width: 540px;
    color: #fff;
    text-align: center;
}

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

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

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

.discount-card-highlight {
    font-size: 42px;
    font-weight: 700;
    margin: 18px 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%;
        min-width: auto;
        max-width: none;
    }

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

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

    .pricing-note,
    .hardware-note {
        margin: 24px 16px;
        padding: 20px 16px;
    }

    .hardware-note {
        width: auto;
        margin: 24px 16px 0;
    }

    .note-cards {
        flex-direction: column;
    }

    .note-card {
        min-width: auto;
    }

    .note-title {
        font-size: 19px;
    }
}
