#account-pricing {
    margin: 0;
    scroll-margin-top: 90px;
}

#account-pricing .ar-options {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

#account-pricing .ar-option {
    position: relative;
    min-width: 0;
    min-height: 128px;
    padding: 16px 13px 14px;
    overflow: hidden;
    border: 1px solid #2d394d;
    border-radius: 17px;
    background:
        linear-gradient(
            180deg,
            rgb(18 27 41 / 95%),
            rgb(12 18 28 / 96%)
        );
    color: #edf1f8;
    text-align: left;
    font: inherit;
    cursor: pointer;
    transition:
        transform .16s ease,
        border-color .16s ease,
        background .16s ease,
        box-shadow .16s ease;
}

#account-pricing .ar-option::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    background:
        radial-gradient(
            circle at 30% 0%,
            rgb(151 188 255 / 19%),
            transparent 58%
        );
    transition: opacity .16s ease;
}

#account-pricing .ar-option:hover:not(:disabled) {
    transform: translateY(-2px);
    border-color: #4a6080;
    background:
        linear-gradient(
            180deg,
            rgb(22 33 50 / 98%),
            rgb(14 21 32 / 98%)
        );
}

#account-pricing .ar-option[aria-checked="true"] {
    border-color: #8cabdf;
    background:
        linear-gradient(
            150deg,
            rgb(29 45 70 / 98%),
            rgb(16 25 39 / 98%)
        );
    box-shadow:
        0 0 0 1px rgb(176 203 255 / 7%) inset,
        0 12px 28px rgb(8 17 31 / 22%);
}

#account-pricing .ar-option[aria-checked="true"]::before {
    opacity: 1;
}

#account-pricing .ar-option:disabled {
    cursor: wait;
    opacity: .58;
}

#account-pricing .ar-option-title,
#account-pricing .ar-option-price,
#account-pricing .ar-option-meta {
    position: relative;
    z-index: 1;
    display: block;
}

#account-pricing .ar-option-title {
    padding-right: 26px;
    color: #c5d0e2;
    font-size: 13px;
    font-weight: 600;
}

#account-pricing .ar-option-price {
    margin-top: 13px;
    color: #f2f6ff;
    font-size: 21px;
    font-weight: 720;
    line-height: 1.05;
    letter-spacing: -.45px;
    white-space: nowrap;
}

#account-pricing .ar-option-meta {
    margin-top: 8px;
    color: #8e9db4;
    font-size: 11px;
    line-height: 1.35;
}

#account-pricing .ar-option-check {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: grid;
    width: 21px;
    height: 21px;
    place-items: center;
    border: 1px solid #3c4b61;
    border-radius: 999px;
    background: #0b111b;
    color: transparent;
    font-size: 12px;
    font-weight: 800;
    transition:
        background .16s ease,
        border-color .16s ease,
        color .16s ease;
}

#account-pricing .ar-option[aria-checked="true"] .ar-option-check {
    border-color: #b0cbff;
    background: #b0cbff;
    color: #0b1830;
}

#account-pricing .ar-option-badge {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 2;
    padding: 4px 7px;
    border: 1px solid #315b4b;
    border-radius: 999px;
    background: #173328;
    color: #a9e6c0;
    font-size: 10px;
    font-weight: 700;
}

#account-pricing .ar-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 16px;
    padding: 17px 18px;
    border: 1px solid #2f3c50;
    border-radius: 17px;
    background: #0d141f;
}

#account-pricing .ar-summary-main {
    display: grid;
    min-width: 0;
    gap: 3px;
}

#account-pricing .ar-summary-kicker {
    color: #7f92af;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

#account-pricing .ar-summary-main strong {
    margin-top: 2px;
    color: #edf1f8;
    font-size: 17px;
}

#account-pricing .ar-summary-main > span:last-child {
    color: #91a0b6;
    font-size: 12px;
}

#account-pricing .ar-summary-price {
    display: grid;
    flex-shrink: 0;
    justify-items: end;
    gap: 4px;
}

#account-pricing .ar-summary-price strong {
    color: #f1f5fd;
    font-size: 23px;
    letter-spacing: -.55px;
}

#account-pricing #ar-selected-saving {
    color: #9ad9b3;
    font-size: 11px;
    font-weight: 600;
}

#account-pricing .ar-checkout-button {
    width: 100%;
    min-height: 54px;
    margin-top: 10px;
    border-radius: 14px;
    background:
        linear-gradient(
            110deg,
            #afd0ff,
            #aa9eff
        );
    box-shadow:
        0 10px 28px rgb(55 88 145 / 18%),
        inset 0 1px 0 rgb(255 255 255 / 28%);
    color: #09152d;
    font-weight: 730;
}

#account-pricing .ar-checkout-button:hover:not(:disabled) {
    border-color: #c8dcff;
    background:
        linear-gradient(
            110deg,
            #c0dbff,
            #b9afff
        );
}

#account-pricing .ar-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 12px;
}

#account-pricing #ar-status {
    margin: 0;
}

#account-pricing #ar-retry {
    flex-shrink: 0;
}

#account-pricing .ar-trust {
    margin: 8px 0 0;
    color: #77869d;
    font-size: 11px;
    line-height: 1.5;
    text-align: center;
}

#cvpn-checkout .co-header {
    padding: 0;
}

@media (max-width: 760px) {
    #account-pricing .ar-options {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    #account-pricing .ar-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    #account-pricing .ar-option {
        min-height: 118px;
        padding: 14px 12px 12px;
        border-radius: 15px;
    }

    #account-pricing .ar-option-price {
        font-size: 20px;
    }

    #account-pricing .ar-summary {
        align-items: flex-start;
        gap: 14px;
        padding: 15px;
    }

    #account-pricing .ar-summary-price strong {
        font-size: 20px;
    }

    #account-pricing .ar-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
    }

    #account-pricing #ar-retry {
        min-height: 34px;
    }
}

@media (max-width: 360px) {
    #account-pricing .ar-options {
        grid-template-columns: 1fr;
    }

    #account-pricing .ar-option {
        min-height: 104px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #account-pricing .ar-option,
    #account-pricing .ar-option::before,
    #account-pricing .ar-option-check {
        transition: none;
    }
}


/* v5 tariff skeleton */

#account-pricing.is-loading .ar-option {
    position: relative;
    overflow: hidden;
    border-color: #293649;
    background: #0f1722;
}

#account-pricing.is-loading .ar-option > * {
    opacity: 0;
}

#account-pricing.is-loading .ar-option::after {
    content: "";
    position: absolute;
    z-index: 4;
    inset: 0;
    background:
        linear-gradient(#1a2534 0 0) 14px 18px / 48% 11px no-repeat,
        linear-gradient(#1a2534 0 0) 14px 45px / 62% 22px no-repeat,
        linear-gradient(#151f2d 0 0) 14px 80px / 58% 9px no-repeat,
        linear-gradient(
            90deg,
            transparent,
            rgb(255 255 255 / 6%),
            transparent
        );
    transform: translateX(-105%);
    animation: tariff-shimmer 1.2s ease-in-out infinite;
}

@keyframes tariff-shimmer {
    to { transform: translateX(105%); }
}

@media (prefers-reduced-motion: reduce) {
    #account-pricing.is-loading .ar-option::after {
        animation: none;
        transform: none;
    }
}
