/* 結餘轉戶產品特點 */
.product-feature-card {
    padding: 32px 22px;
}

/* Savings Comparison Section */
.savings-comparison-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.savings-comparison-container {
    width: 100%;
}

.savings-comparison-container .section-title {
    margin-bottom: 60px;
}

.savings-comparison-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.savings-comparison-table {
    background-color: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(244, 128, 36, 0.15);
    position: relative;
}

.savings-comparison-header {
    display: grid;
    grid-template-columns: 200px 1fr 80px 1fr;
    background: linear-gradient(135deg, rgba(244, 128, 36, 0.05) 0%, rgba(244, 128, 36, 0.02) 100%);
    border-bottom: 2px solid rgba(244, 128, 36, 0.2);
}

.savings-comparison-row {
    display: grid;
    grid-template-columns: 200px 1fr 80px 1fr;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: background-color 0.3s ease;
}

.savings-comparison-row:last-of-type {
    border-bottom: none;
}

.savings-comparison-row:hover {
    background-color: rgba(244, 128, 36, 0.02);
}

.savings-comparison-label-cell {
    padding: 24px 32px;
    background-color: rgba(244, 128, 36, 0.03);
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #1a1a1a;
    font-size: 18px;
    text-align: center;
}

.savings-debt-amount {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
}

.savings-comparison-product-cell {
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.savings-comparison-minpay {
    background-color: #ffffff;
}

.savings-comparison-ansheng {
    background-color: #f48024;
}

.savings-comparison-header .savings-comparison-product-cell {
    padding: 32px 24px;
}

.savings-comparison-header .savings-comparison-label-cell {
    border-right: 1px solid #f4802433;
    background-color: transparent;
}

.savings-product-header {
    display: flex;
    /* flex-direction: column; */
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.savings-hand-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.savings-hand-icon svg {
    width: 100%;
    height: 100%;
}

.savings-product-name {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
}

.savings-comparison-minpay .savings-product-name {
    color: #1a1a1a;
}

.savings-comparison-label {
    color: #1a1a1a;
}

.savings-comparison-value {
    font-size: 20px;
    line-height: 1.8;
    color: #1a1a1a;
    margin: 0;
    text-align: center;
    font-weight: 600;
}

.savings-comparison-ansheng .savings-comparison-value {
    color: #ffffff;
}

.savings-value-highlight {
    font-size: 24px;
    font-weight: 700;
}

.savings-value-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.savings-benefit-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 18px;
    font-weight: 700;
    white-space: nowrap;
}

.savings-benefit-orange {
    background-color: #ff9800;
    color: #ffffff;
}

.savings-benefit-purple {
    background-color: #ffffff;
    color: var(--primary-color);
}

.savings-comparison-value strong {
    font-weight: 700;
    font-size: 1.2em;
}

/* VS Divider */
.savings-vs-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    position: relative;
    background-color: #ffffff;
}

.vs-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #4A90E2;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    border: 3px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.white-txt sub {
    color: #ffffff;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .savings-comparison-header,
    .savings-comparison-row {
        grid-template-columns: 180px 1fr 70px 1fr;
    }

    .savings-comparison-label-cell,
    .savings-comparison-product-cell {
        padding: 20px 24px;
    }

    .savings-product-name {
        font-size: 20px;
    }

    .savings-comparison-value {
        font-size: 18px;
    }

    .savings-value-highlight {
        font-size: 22px;
    }
}

@media (max-width: 992px) {
    .savings-comparison-section {
        padding: 40px 0;
    }

    .savings-comparison-container .section-title {
        margin-bottom: 12px;
    }

    .savings-comparison-wrapper {
        padding: 0;
    }

    .savings-comparison-header,
    .savings-comparison-row {
        grid-template-columns: 160px 1fr 60px 1fr;
    }

    .savings-comparison-label-cell,
    .savings-comparison-product-cell {
        padding: 18px 20px;
    }

    .savings-comparison-header .savings-comparison-product-cell {
        padding: 24px 20px;
    }

    .savings-product-name {
        font-size: 18px;
    }

    .savings-comparison-label {
        font-size: 16px;
    }

    .savings-comparison-value {
        font-size: 16px;
    }

    .savings-value-highlight {
        font-size: 20px;
    }

    .savings-benefit-badge {
        font-size: 16px;
        padding: 5px 12px;
    }

    .vs-circle {
        width: 50px;
        height: 50px;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .savings-comparison-table {
        border-radius: 8px;
        border: 1px solid rgba(244, 128, 36, 0.2);
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 20px 16px;
    }

    .savings-comparison-wrapper {
        padding: 0;
    }

    .savings-comparison-header {
        display: block;
        border-radius: 12px;
        border: 1px solid rgba(244, 128, 36, 0.2);
    }

    .savings-comparison-row {
        display: block;
        border: none;
        background-color: #f8f8f8;
        border-radius: 12px;
        padding: 0;
        overflow: hidden;
        margin-bottom: 16px;
    }

    .savings-comparison-row:last-of-type {
        margin-bottom: 0;
    }

    .savings-comparison-label-cell {
        display: block;
        padding: 8px 20px;
        border: none;
        border-bottom: 2px solid rgba(244, 128, 36, 0.3);
        font-size: 18px;
        background-color: rgba(244, 128, 36, 0.1);
        text-align: center;
        font-weight: 700;
        color: #1a1a1a;
    }

    .savings-debt-amount {
        font-size: 16px;
    }

    .savings-comparison-product-cell {
        display: block;
        padding: 12px;
        border: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        text-align: center;
    }

    .savings-comparison-product-cell:last-of-type {
        border-bottom: none;
    }

    .savings-comparison-minpay {
        background-color: #ffffff;
        border-left: 1px solid rgba(244, 128, 36, 0.08);
        border-right: 1px solid rgba(244, 128, 36, 0.08);
    }

    .savings-vs-divider {
        display: none;
    }

    .savings-comparison-header .savings-comparison-label-cell {
        display: block;
        padding: 8px 20px;
        border: none;
        border-bottom: 2px solid rgba(244, 128, 36, 0.3);
        font-size: 18px;
        background-color: rgba(244, 128, 36, 0.1);
        text-align: center;
        font-weight: 700;
        color: #1a1a1a;
        border-radius: 12px 12px 0 0;
    }

    .savings-comparison-header .savings-comparison-product-cell {
        padding: 12px 20px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .savings-comparison-header .savings-comparison-product-cell:last-of-type {
        border-bottom: none;
        border-radius: 0 0 12px 12px;
    }

    .savings-product-name {
        font-size: 16px;
    }

    .savings-comparison-value {
        font-size: 15px;
    }

    .savings-value-highlight {
        font-size: 16px;
    }

    .savings-benefit-badge {
        font-size: 15px;
        padding: 4px 10px;
    }

    .savings-hand-icon {
        width: 30px;
        height: 30px;
    }
}

