.plan-cycle-wrap {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 3;
}

.plan-cycle-label {
    font-size: 12px;
    opacity: 0.8;
    white-space: nowrap;
}

.plan-switch {
    position: relative;
    width: 62px;
    height: 34px;
    display: inline-block;
    cursor: pointer;
    z-index: 4;
    flex: 0 0 auto;
}

.plan-switch input {
    position: absolute;
    inset: 0;
    width: 62px;
    height: 34px;
    margin: 0;
    opacity: 0.0001;
    cursor: pointer;
    z-index: 3;
}

.plan-switch-slider {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.14);
    transition: all .2s ease;
    pointer-events: none;
}

.plan-switch-slider::before {
    content: "";
    position: absolute;
    width: 26px;
    height: 26px;
    left: 3px;
    top: 3px;
    border-radius: 50%;
    background: #fff;
    transition: transform .2s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
}

.plan-switch input:checked + .plan-switch-slider::before {
    transform: translateX(28px);
}

.plan-switch input:checked + .plan-switch-slider {
    background: linear-gradient(135deg,#7c3aed,#2563eb);
}

.plan-cycle-caption {
    font-size: 12px;
    opacity: .8;
    margin-top: 6px;
}

.try-now-btn {
    margin-top: 18px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    cursor: pointer;
    border: 0;
}

@media (max-width: 720px) {
    .plan-cycle-wrap {
        position: static;
        justify-content: flex-end;
        margin-bottom: 14px;
    }
}

.price-discounted {
    color: #7c3aed; /* purple */
    font-weight: 700;
}

/* discount badge */
.discount-badge {
    display: inline-block;
    margin-left: 10px;
    padding: 4px 8px;
    font-size: 11px;
    border-radius: 999px;
    background: linear-gradient(135deg,#7c3aed,#2563eb);
    color: #fff;
    font-weight: 600;
    vertical-align: middle;
}
