﻿/* ====================== PRICING SECTION ========================= */
.pricing-section {
    background: var(--np-grey-hot-bg);
    padding: 80px 0;
}
/* ====================== END PRICING SECTION ========================= */


/* ====================== TITLE ========================= */
.pricing-title {
    text-align: center;
    font-family: var(--font-logo);
    font-size: var(--fs-3xl);
    margin-bottom: 40px;
    font-weight: 100;
}

.pricing-title-accent {
    color: var(--np-accent1);
}
/* ====================== END TITLE ========================= */


/* ====================== TOGGLE ========================= */
.pricing-toggle {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 50px;
}

.pricing-toggle-btn {
    padding: 10px 24px;
    border-radius: 12px;
    border: 2px solid var(--np-dark);
    background: transparent;
    font-weight: 700;
    cursor: pointer;
    transition: background .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

    /* hover (НЕ active) */
    .pricing-toggle-btn:not(.active):hover {
        background: var(--np-hover-bg);
        border-color: var(--np-green);
        transform: translateY(-2px);
        box-shadow: 0 4px 10px rgba(0,0,0,0.12);
    }

    /* active */
    .pricing-toggle-btn.active {
        background: var(--np-green);
        color: var(--np-white);
        border-color: var(--np-green);
        box-shadow: 0 4px 12px rgba(0,0,0,0.18);
    }

        /* hover on active */
        .pricing-toggle-btn.active:hover {
            transform: translateY(-1px);
        }
/* ====================== END TOGGLE ========================= */


/* ====================== PACKAGES ========================= */
.pricing-packages {
    margin-bottom: 80px;
}

.pricing-grid {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

    .pricing-grid.is-active {
        display: grid;
    }
/* ====================== END PACKAGES ========================= */


/* ====================== CARD ========================= */
.pricing-card {
    position: relative;
    background: var(--np-white);
    border-radius: 18px;
    padding: 32px 26px 26px;
    box-shadow: 0 6px 14px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    transition: transform .3s ease, box-shadow .3s ease;
}

    .pricing-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 22px rgba(0,0,0,0.12);
    }
/* ====================== END CARD ========================= */


/* ====================== CARD HEADER ========================= */
.pricing-card-header {
    min-height: 72px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

    .pricing-card-header h3 {
        font-family: var(--font-body);
    }
/* ====================== END CARD HEADER ========================= */


/* ====================== PRICE ========================= */
.pricing-price strong {
    font-size: 22px;
    color: var(--np-green);
}

.pricing-discount {
    margin-left: 6px;
    font-weight: 700;
    color: var(--np-error-color);
}
/* ====================== END PRICE ========================= */


/* ====================== BADGE ========================= */
.pricing-card-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.pricing-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 999px;
    background: #ffe8b2;
    box-shadow: 0 4px 10px rgba(0,0,0,.12);
    white-space: nowrap;
}

    .pricing-badge.popular {
        background: #ffe8b2;
    }

    .pricing-badge.profit {
        background: #d4f7e0;
    }
/* ====================== END BADGE ========================= */


/* ====================== DIVIDER ========================= */
.pricing-divider {
    margin-top: 20px;
    margin-bottom: 20px;
    height: 1px;
    background: rgba(0,0,0,.08);
}
/* ====================== END DIVIDER ========================= */


/* ====================== CARD BODY ========================= */
.pricing-card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
}
/* ====================== END CARD BODY ========================= */


/* ====================== CARD FOOTER ========================= */
.pricing-card-footer {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
}

.pricing-total-label {
    font-size: var(--fs-sm);
    opacity: .7;
}

.pricing-total-value {
    font-size: var(--fs-md);
    color: var(--np-green);
}
/* ====================== END CARD FOOTER ========================= */


/* ====================== EARNINGS ========================= */
.earnings-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.earnings-card {
    display: flex;
    gap: 16px;
    background: var(--np-white);
    padding: 18px 22px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
    min-width: 200px;
    align-items: center;
    justify-content: center;
    transition: transform .3s ease, box-shadow .3s ease;
}

    .earnings-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 18px rgba(0,0,0,0.12);
    }

    .earnings-card img {
        width: 44px;
        height: auto;
    }

.earnings-name {
    font-weight: 700;
}

.earnings-price {
    color: var(--np-green);
    font-weight: 700;
}
/* ====================== END EARNINGS ========================= */