 .ajf-pricing-plans,
.ajf-pricing-plans * { box-sizing: border-box; }

.ajf-pricing-plans {
    --ajf-ppw-cols-desktop: 4;
    --ajf-ppw-cols-tablet: 2;
    --ajf-ppw-cols-mobile: 1;
    --ajf-ppw-decor-color: rgba(214,167,75,.14);
    --ajf-ppw-dot-color: rgba(214,167,75,.30);
    --ajf-ppw-float-distance: 7px;
    --ajf-ppw-float-duration: 7s;
    position: relative;
    overflow: hidden;
    padding: 34px 24px 40px;
    background: linear-gradient(180deg, #fcfbf8 0%, #ffffff 100%);
}

.ajf-pricing-plans__container {
    position: relative;
    z-index: 3;
    max-width: 1600px;
    margin: 0 auto;
}

.ajf-pricing-plans__header {
    text-align: center;
    max-width: 980px;
    margin: 0 auto 34px;
}

.ajf-pricing-plans__kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 42px;
    padding: 8px 34px;
    margin: 0 0 16px;
    border: 1px solid rgba(214,167,75,.34);
    border-radius: 999px;
    background: rgba(255,255,255,.78);
    color: #C78D2A;
    font-family: Inter, Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    line-height: 1;
}

.ajf-pricing-plans__kicker-icon,
.ajf-pricing-plans__kicker-icon svg {
    display: inline-flex;
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.ajf-pricing-plans__title {
    margin: 0 0 14px;
    color: #061126;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 66px;
    line-height: 1.02;
    font-weight: 700;
    letter-spacing: -.03em;
    text-wrap: balance;
}

.ajf-pricing-plans__title .is-highlight { color: #B33029; }

.ajf-pricing-plans__subtitle {
    color: #5B6472;
    font-family: Inter, Arial, sans-serif;
    font-size: 20px;
    line-height: 1.55;
    max-width: 840px;
    margin: 0 auto;
    text-wrap: balance;
}

.ajf-pricing-plans__cards {
    --cols: var(--ajf-ppw-cols-desktop);
    display: grid;
    grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
    gap: 26px;
    align-items: stretch;
}

.ajf-pricing-plans__plan {
    position: relative;
    min-height: 560px;
    padding: 36px 32px 30px;
    background: #fff;
    border: 1px solid rgba(234,226,215,.9);
    border-radius: 24px;
    box-shadow: 0 16px 38px rgba(16,39,83,.045);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    outline: none;
    transition: transform .32s ease, box-shadow .32s ease, border-color .32s ease;
}

.ajf-pricing-plans__plan:hover,
.ajf-pricing-plans__plan:focus-within {
    transform: translateY(-8px);
    box-shadow: 0 22px 52px rgba(16,39,83,.08);
}

.ajf-pricing-plans__plan.is-featured {
    border-color: #D6A74B;
    box-shadow: 0 20px 58px rgba(214,167,75,.10);
}

.ajf-pricing-plans__badge {
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 174px;
    min-height: 36px;
    padding: 8px 20px;
    border-radius: 999px;
    background: #D6A74B;
    color: #fff;
    font-family: Inter, Arial, sans-serif;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    box-shadow: 0 10px 22px rgba(214,167,75,.22);
    z-index: 2;
}

.ajf-pricing-plans__plan-icon {
    width: 78px;
    height: 78px;
    border-radius: 999px;
    margin: 0 auto 22px;
    background: #F7F4EE;
    color: #C78D2A;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
}

.ajf-pricing-plans__plan-icon svg {
    width: 36px;
    height: 36px;
    fill: currentColor;
}

.ajf-pricing-plans__plan-title {
    color: #061126;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 30px;
    line-height: 1.15;
    font-weight: 700;
    margin: 0 0 8px;
}

.ajf-pricing-plans__plan-subtitle {
    color: #5B6472;
    font-family: Inter, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.35;
    min-height: 22px;
}

.ajf-pricing-plans__price-wrap {
    margin: 24px 0 18px;
}

.ajf-pricing-plans__price-prefix {
    color: #061126;
    font-family: Inter, Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 4px;
}

.ajf-pricing-plans__price {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    color: #061126;
    line-height: 1;
}

.ajf-pricing-plans__currency {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 36px;
    font-weight: 700;
    margin-right: 8px;
}

.ajf-pricing-plans__price-number {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 76px;
    line-height: .86;
    font-weight: 700;
    letter-spacing: -.04em;
}

.ajf-pricing-plans__period {
    font-family: Inter, Arial, sans-serif;
    color: #061126;
    font-size: 17px;
    font-weight: 600;
    margin-left: 4px;
}

.ajf-pricing-plans__price-note {
    margin-top: 6px;
    color: #5B6472;
    font-family: Inter, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.35;
}

.ajf-pricing-plans__divider {
    display: block;
    width: 146px;
    height: 2px;
    margin: 0 auto 22px;
    background: rgba(214,167,75,.55);
}

.ajf-pricing-plans__features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

.ajf-pricing-plans__features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #5B6472;
    font-family: Inter, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.45;
}

.ajf-pricing-plans__feature-check {
    color: #D28F1A;
    font-size: 18px;
    line-height: 1.1;
    flex: 0 0 auto;
    margin-top: -1px;
}

.ajf-pricing-plans__button {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 48px;
    border: 1.5px solid rgba(6,17,38,.45);
    border-radius: 8px;
    background: transparent;
    color: #061126;
    text-decoration: none;
    font-family: Inter, Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    transition: background .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.ajf-pricing-plans__button:hover,
.ajf-pricing-plans__button:focus-visible {
    transform: translateY(-2px);
}

.ajf-pricing-plans__plan.is-featured .ajf-pricing-plans__button {
    background: #D6A74B;
    border-color: #D6A74B;
    color: #061126;
    box-shadow: 0 12px 24px rgba(214,167,75,.18);
}

.ajf-pricing-plans__cta {
    position: relative;
    overflow: hidden;
    min-height: 560px;
    padding: 54px 32px 34px;
    border-radius: 22px;
    background: #061126;
    color: #fff;
    box-shadow: 0 20px 48px rgba(6,17,38,.18);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.ajf-pricing-plans__cta-circle {
    position: absolute;
    inset: 28px auto auto 28px;
    width: 74px;
    height: 74px;
    border-radius: 999px;
    border: 1px solid rgba(214,167,75,.22);
}

.ajf-pricing-plans__cta::after {
    content: "";
    position: absolute;
    right: -68px;
    top: 38px;
    width: 230px;
    height: 230px;
    border-radius: 999px;
    border: 1px solid rgba(214,167,75,.12);
    box-shadow: 0 0 0 44px rgba(214,167,75,.035);
}

.ajf-pricing-plans__cta-icon {
    position: relative;
    z-index: 3;
    width: 54px;
    height: 54px;
    border-radius: 999px;
    border: 2px solid rgba(214,167,75,.60);
    color: #D6A74B;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 54px;
}

.ajf-pricing-plans__cta-icon svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.ajf-pricing-plans__cta-phoenix {
    position: absolute;
    right: -74px;
    top: 114px;
    width: 270px;
    opacity: .48;
    z-index: 1;
    pointer-events: none;
}

.ajf-pricing-plans__cta-phoenix img {
    width: 100%;
    height: auto;
    display: block;
}

.ajf-pricing-plans__cta-title {
    position: relative;
    z-index: 3;
    color: #fff;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 34px;
    line-height: 1.05;
    font-weight: 700;
    margin: 0 0 20px;
    max-width: 250px;
    text-wrap: balance;
}

.ajf-pricing-plans__cta-desc {
    position: relative;
    z-index: 3;
    color: rgba(255,255,255,.86);
    font-family: Inter, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    max-width: 245px;
    margin-bottom: 30px;
}

.ajf-pricing-plans__cta-button {
    position: relative;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 54px;
    width: 190px;
    border-radius: 8px;
    padding: 14px 22px;
    background: #D6A74B;
    color: #061126;
    text-decoration: none;
    font-family: Inter, Arial, sans-serif;
    font-size: 15px;
    font-weight: 800;
    box-shadow: 0 16px 34px rgba(214,167,75,.22);
    transition: transform .25s ease, filter .25s ease;
}

.ajf-pricing-plans__cta-button:hover,
.ajf-pricing-plans__cta-button:focus-visible {
    transform: translateY(-2px);
    filter: brightness(1.02);
}

.ajf-pricing-plans__social {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: auto;
}

.ajf-pricing-plans__avatars {
    display: flex;
    align-items: center;
}

.ajf-pricing-plans__avatars img {
    width: 42px;
    height: 42px;
    object-fit: cover;
    border-radius: 999px;
    border: 2px solid #fff;
    margin-left: -10px;
    background: #fff;
}

.ajf-pricing-plans__avatars img:first-child { margin-left: 0; }

.ajf-pricing-plans__stars {
    color: #D6A74B;
    font-size: 16px;
    letter-spacing: 3px;
    line-height: 1;
    margin-bottom: 5px;
}

.ajf-pricing-plans__social-text {
    color: rgba(255,255,255,.86);
    font-family: Inter, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 700;
}

.ajf-pricing-plans__trust {
    margin-top: 26px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    align-items: stretch;
    background: #fff;
    border: 1px solid rgba(234,226,215,.86);
    border-radius: 22px;
    box-shadow: 0 14px 32px rgba(16,39,83,.04);
    overflow: hidden;
}

.ajf-pricing-plans__trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 76px;
    padding: 14px 22px;
    position: relative;
}

.ajf-pricing-plans__trust-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 20%;
    width: 1px;
    height: 60%;
    background: rgba(6,17,38,.10);
}

.ajf-pricing-plans__trust-icon {
    color: #D28F1A;
    font-size: 31px;
    display: inline-flex;
    flex: 0 0 auto;
}

.ajf-pricing-plans__trust-icon svg {
    width: 31px;
    height: 31px;
    fill: currentColor;
}

.ajf-pricing-plans__trust-text {
    display: flex;
    flex-direction: column;
    font-family: Inter, Arial, sans-serif;
    text-align: left;
}

.ajf-pricing-plans__trust-text strong {
    color: #061126;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 800;
}

.ajf-pricing-plans__trust-text small {
    color: #5B6472;
    font-size: 13px;
    line-height: 1.25;
}

.ajf-pricing-plans__decor {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

.ajf-pricing-plans__decor--dots-left {
    top: 20px;
    left: 20px;
    width: 160px;
    height: 82px;
    background-image: radial-gradient(var(--ajf-ppw-dot-color) 1.35px, transparent 1.35px);
    background-size: 14px 14px;
    opacity: .65;
}

.ajf-pricing-plans__decor--arc-right {
    right: -130px;
    top: -130px;
    width: 380px;
    height: 380px;
    border-radius: 999px;
    border: 1px solid var(--ajf-ppw-decor-color);
    box-shadow: 0 0 0 16px rgba(214,167,75,.035), 0 0 0 32px rgba(214,167,75,.018), 0 0 0 48px rgba(214,167,75,.012);
}

.ajf-pricing-plans__decor--phoenix-bg {
    right: -70px;
    top: 0;
    width: 420px;
    opacity: .08;
}

.ajf-pricing-plans__decor--phoenix-bg img {
    width: 100%;
    display: block;
}

.ajf-pricing-plans__decor--bottom-left {
    left: -106px;
    bottom: -120px;
    width: 240px;
    height: 240px;
    border-radius: 999px;
    border: 1px solid var(--ajf-ppw-decor-color);
    box-shadow: 0 0 0 18px rgba(214,167,75,.032), 0 0 0 36px rgba(214,167,75,.016);
}

.ajf-pricing-plans--hide-decor .ajf-pricing-plans__decor { display: none; }
.ajf-pricing-plans--hide-bg-phoenix .ajf-pricing-plans__decor--phoenix-bg { display: none; }

.ajf-pricing-plans--float .ajf-pricing-plans__plan,
.ajf-pricing-plans--float .ajf-pricing-plans__cta {
    animation: ajfPpwFloat var(--ajf-ppw-float-duration) ease-in-out infinite;
}

.ajf-pricing-plans--float .ajf-pricing-plans__plan:nth-child(2) { animation-delay: .45s; }
.ajf-pricing-plans--float .ajf-pricing-plans__plan:nth-child(3) { animation-delay: .9s; }
.ajf-pricing-plans--float .ajf-pricing-plans__cta { animation-delay: 1.25s; }

.ajf-pricing-plans--glow .ajf-pricing-plans__plan-icon,
.ajf-pricing-plans--glow .ajf-pricing-plans__cta-icon {
    animation: ajfPpwGlow 4.8s ease-in-out infinite;
}

.ajf-pricing-plans--glow .ajf-pricing-plans__cta-phoenix img {
    animation: ajfPpwPhoenix 7s ease-in-out infinite;
}

.ajf-pricing-plans--reveal .ajf-pricing-plans__header,
.ajf-pricing-plans--reveal .ajf-pricing-plans__plan,
.ajf-pricing-plans--reveal .ajf-pricing-plans__cta,
.ajf-pricing-plans--reveal .ajf-pricing-plans__trust {
    opacity: 0;
    transform: translateY(24px);
}

.ajf-pricing-plans--reveal.ajf-in-view .ajf-pricing-plans__header,
.ajf-pricing-plans--reveal.ajf-in-view .ajf-pricing-plans__plan,
.ajf-pricing-plans--reveal.ajf-in-view .ajf-pricing-plans__cta,
.ajf-pricing-plans--reveal.ajf-in-view .ajf-pricing-plans__trust {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .8s ease, transform .8s ease;
}

.ajf-pricing-plans--reveal.ajf-in-view .ajf-pricing-plans__plan:nth-child(1) { transition-delay: .08s; }
.ajf-pricing-plans--reveal.ajf-in-view .ajf-pricing-plans__plan:nth-child(2) { transition-delay: .16s; }
.ajf-pricing-plans--reveal.ajf-in-view .ajf-pricing-plans__plan:nth-child(3) { transition-delay: .24s; }
.ajf-pricing-plans--reveal.ajf-in-view .ajf-pricing-plans__cta { transition-delay: .32s; }
.ajf-pricing-plans--reveal.ajf-in-view .ajf-pricing-plans__trust { transition-delay: .40s; }

@keyframes ajfPpwFloat {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(calc(var(--ajf-ppw-float-distance) * -1)); }
}

@keyframes ajfPpwGlow {
    0%,100% { box-shadow: 0 0 0 rgba(214,167,75,0); }
    50% { box-shadow: 0 0 24px rgba(214,167,75,.20); }
}

@keyframes ajfPpwPhoenix {
    0%,100% { transform: translate3d(0,0,0) scale(1); filter: drop-shadow(0 0 0 rgba(214,167,75,0)); }
    50% { transform: translate3d(0,-7px,0) scale(1.018); filter: drop-shadow(0 0 18px rgba(214,167,75,.20)); }
}

@media (max-width: 1400px) {
    .ajf-pricing-plans__title { font-size: 56px; }
    .ajf-pricing-plans__price-number { font-size: 64px; }
    .ajf-pricing-plans__plan { padding-left: 24px; padding-right: 24px; }
    .ajf-pricing-plans__cta { padding-left: 24px; padding-right: 24px; }
}

@media (max-width: 1180px) {
    .ajf-pricing-plans__cards { --cols: var(--ajf-ppw-cols-tablet); }
    .ajf-pricing-plans__cta { min-height: 470px; }
    .ajf-pricing-plans__trust { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .ajf-pricing-plans__trust-item:nth-child(2)::after { display: none; }
}

@media (max-width: 767px) {
    .ajf-pricing-plans { padding: 26px 16px 34px; }
    .ajf-pricing-plans__header { margin-bottom: 28px; }
    .ajf-pricing-plans__kicker { font-size: 13px; min-height: 38px; padding: 8px 22px; }
    .ajf-pricing-plans__title { font-size: 40px; }
    .ajf-pricing-plans__subtitle { font-size: 16px; }
    .ajf-pricing-plans__cards { --cols: var(--ajf-ppw-cols-mobile); gap: 18px; }
    .ajf-pricing-plans__plan { min-height: 0; padding: 30px 22px 22px; }
    .ajf-pricing-plans__plan-icon { width: 68px; height: 68px; margin-bottom: 16px; }
    .ajf-pricing-plans__plan-title { font-size: 28px; }
    .ajf-pricing-plans__price-number { font-size: 58px; }
    .ajf-pricing-plans__currency { font-size: 30px; }
    .ajf-pricing-plans__features li { font-size: 14px; }
    .ajf-pricing-plans__cta { min-height: 430px; padding: 34px 22px 22px; }
    .ajf-pricing-plans__cta-icon { margin-bottom: 28px; }
    .ajf-pricing-plans__cta-title { font-size: 31px; }
    .ajf-pricing-plans__cta-desc { font-size: 15px; }
    .ajf-pricing-plans__cta-phoenix { width: 230px; right: -58px; top: 96px; }
    .ajf-pricing-plans__trust { grid-template-columns: 1fr; margin-top: 18px; }
    .ajf-pricing-plans__trust-item { justify-content: flex-start; min-height: 68px; }
    .ajf-pricing-plans__trust-item::after { display: none !important; }
    .ajf-pricing-plans__trust-item:not(:last-child) { border-bottom: 1px solid rgba(6,17,38,.08); }
    .ajf-pricing-plans__decor--dots-left { transform: scale(.72); top: 12px; left: -12px; }
    .ajf-pricing-plans__decor--arc-right { transform: scale(.75); right: -190px; top: -170px; }
    .ajf-pricing-plans__decor--phoenix-bg { width: 310px; right: -120px; top: 20px; }
}

@media (prefers-reduced-motion: reduce) {
    .ajf-pricing-plans--float .ajf-pricing-plans__plan,
    .ajf-pricing-plans--float .ajf-pricing-plans__cta,
    .ajf-pricing-plans--glow .ajf-pricing-plans__plan-icon,
    .ajf-pricing-plans--glow .ajf-pricing-plans__cta-icon,
    .ajf-pricing-plans--glow .ajf-pricing-plans__cta-phoenix img {
        animation: none !important;
    }
    .ajf-pricing-plans__plan,
    .ajf-pricing-plans__plan:hover,
    .ajf-pricing-plans__plan:focus-within,
    .ajf-pricing-plans__button,
    .ajf-pricing-plans__cta-button {
        transition: none !important;
        transform: none !important;
    }
    .ajf-pricing-plans--reveal .ajf-pricing-plans__header,
    .ajf-pricing-plans--reveal .ajf-pricing-plans__plan,
    .ajf-pricing-plans--reveal .ajf-pricing-plans__cta,
    .ajf-pricing-plans--reveal .ajf-pricing-plans__trust,
    .ajf-pricing-plans--reveal.ajf-in-view .ajf-pricing-plans__header,
    .ajf-pricing-plans--reveal.ajf-in-view .ajf-pricing-plans__plan,
    .ajf-pricing-plans--reveal.ajf-in-view .ajf-pricing-plans__cta,
    .ajf-pricing-plans--reveal.ajf-in-view .ajf-pricing-plans__trust {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}
