body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-bottom: 140px;
}

/* 顶部导航 */
.navbar-custom {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* 大气极简节点卡片样式 */
.node-card {
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    border: 2px solid var(--bs-border-color);
    background-color: var(--bs-body-bg);
    position: relative;
    overflow: hidden;
    min-height: 112px;
}

.node-card:hover {
    border-color: rgba(13, 110, 253, 0.45);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.08) !important;
}

.node-card-input:checked ~ .node-card {
    border-color: var(--brand-primary, #0d6efd) !important;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.02) 0%, rgba(13, 110, 253, 0.06) 100%);
    box-shadow: 0 14px 30px -6px rgba(13, 110, 253, 0.18), 0 0 0 1px rgba(13, 110, 253, 0.1) !important;
}

.node-card::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 28px 28px 0;
    border-color: transparent transparent transparent transparent;
    transition: border-color 0.2s ease;
}

.node-card-input:checked ~ .node-card::after {
    border-color: transparent var(--brand-primary, #0d6efd) transparent transparent;
}

.flag-icon {
    width: 64px;
    height: 46px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.node-card:hover .flag-icon {
    transform: scale(1.04);
}

.price-num {
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.5px;
}

/* 弹窗内的周期卡片样式 */
.modal-cycle-card {
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    border: 2px solid var(--bs-border-color) !important;
    background-color: var(--bs-body-bg);
}

.modal-cycle-card:hover {
    border-color: var(--bs-primary-border-subtle) !important;
    transform: translateY(-2px);
}

.modal-cycle-input:checked + .modal-cycle-card {
    border-color: var(--brand-primary, #0d6efd) !important;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.04) 0%, rgba(13, 110, 253, 0.08) 100%);
    box-shadow: 0 0.5rem 1.25rem rgba(13, 110, 253, 0.12) !important;
}

/* 优势小卡片图标容器 */
.feature-icon-box {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px auto;
}

.modal-flag-img {
    width: 56px;
    height: 40px;
    object-fit: cover;
    border-radius: 7px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.footer-flag-icon {
    width: 52px;
    height: 38px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .footer-flag-icon {
        width: 56px;
        height: 42px;
    }
}

/* 底部悬浮结算栏 */
.floating-footer-bar-wrapper {
    position: fixed;
    bottom: 20px;
    left: 0;
    right: 0;
    z-index: 1040;
    pointer-events: none;
    padding: 0 16px;
}

.floating-footer-bar {
    pointer-events: auto;
    max-width: 1000px;
    margin: 0 auto;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(16px);
    border-radius: 1.25rem;
}