/*
|--------------------------------------------------------------------------
| MKGO - Memberships
|--------------------------------------------------------------------------
|
| File:
| /assets/css/pages/memberships.css
|
*/


/*
|--------------------------------------------------------------------------
| Main
|--------------------------------------------------------------------------
*/

.memberships-main {
    width: 100%;
    overflow: hidden;

    background: #ffffff;
}


/*
|--------------------------------------------------------------------------
| Hero
|--------------------------------------------------------------------------
*/

.memberships-hero {
    position: relative;

    overflow: hidden;

    padding: 88px 0 80px;

    border-bottom: 1px solid #e2e8f0;

    background:
        linear-gradient(
            180deg,
            #f8fafc 0%,
            #ffffff 100%
        );
}


.memberships-hero::before {
    content: "";

    position: absolute;
    top: -230px;
    right: -160px;

    width: 540px;
    height: 540px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(15, 23, 42, 0.065) 0%,
            rgba(15, 23, 42, 0) 70%
        );

    pointer-events: none;
}


.memberships-hero .site-container {
    position: relative;
    z-index: 1;
}


.memberships-hero .page-hero-content {
    max-width: 850px;
}


.memberships-hero h1 {
    max-width: 820px;

    margin: 0;

    color: #0f172a;

    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 850;
    line-height: 1.02;
    letter-spacing: -0.055em;
}


.memberships-hero .page-hero-description {
    max-width: 690px;

    margin: 24px 0 0;

    color: #64748b;

    font-size: 1.05rem;
    line-height: 1.75;
}


.memberships-hero .page-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 30px;
}


/*
|--------------------------------------------------------------------------
| Membership Navigation
|--------------------------------------------------------------------------
*/

.membership-navigation {
    position: relative;
    z-index: 10;

    border-bottom: 1px solid #e2e8f0;

    background: #ffffff;
}


.membership-navigation-inner {
    display: flex;
    align-items: stretch;

    overflow-x: auto;

    scrollbar-width: none;
}


.membership-navigation-inner::-webkit-scrollbar {
    display: none;
}


.membership-navigation-link {
    position: relative;

    display: flex;
    align-items: center;

    flex: 0 0 auto;

    min-height: 62px;

    padding: 0 22px;

    border-bottom: 2px solid transparent;

    color: #64748b;

    text-decoration: none;

    font-size: 0.82rem;
    font-weight: 720;

    transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}


.membership-navigation-link:hover {
    color: #0f172a;

    background: #f8fafc;
}


.membership-navigation-link.is-active {
    color: #0f172a;

    border-bottom-color: #0f172a;
}


.membership-navigation-link:focus-visible {
    outline: 2px solid #0f172a;
    outline-offset: -3px;
}


/*
|--------------------------------------------------------------------------
| Sections
|--------------------------------------------------------------------------
*/

.memberships-main .content-section {
    padding: 80px 0;

    scroll-margin-top: 105px;
}


.memberships-main .content-section-alt {
    background: #f8fafc;
}


.memberships-main .section-heading {
    max-width: 760px;

    margin-bottom: 38px;
}


.memberships-main .section-heading h2,
.memberships-main .content-split-main h2 {
    margin: 0;

    color: #0f172a;

    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 820;
    line-height: 1.12;
    letter-spacing: -0.04em;
}


.memberships-main .section-heading > p:last-child,
.memberships-main .content-split-main > p {
    max-width: 690px;

    color: #64748b;

    line-height: 1.75;
}


.memberships-main .section-heading > p:last-child {
    margin: 17px 0 0;
}


.memberships-main .content-split-main > p {
    margin: 17px 0 0;
}


/*
|--------------------------------------------------------------------------
| Overview Grid
|--------------------------------------------------------------------------
*/

.membership-benefit-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 16px;
}


.memberships-main .content-card {
    padding: 28px;

    border: 1px solid #e2e8f0;
    border-radius: 16px;

    background: #ffffff;

    box-shadow:
        0 5px 20px
        rgba(15, 23, 42, 0.025);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.memberships-main .content-card:hover {
    transform: translateY(-3px);

    border-color: #cbd5e1;

    box-shadow:
        0 14px 32px
        rgba(15, 23, 42, 0.065);
}


.memberships-main .content-card-number {
    margin-bottom: 20px;

    color: #94a3b8;

    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}


.memberships-main .content-card h3 {
    margin: 0 0 9px;

    color: #0f172a;

    font-size: 1.05rem;
    font-weight: 780;
}


.memberships-main .content-card p {
    margin: 0;

    color: #64748b;

    font-size: 0.88rem;
    line-height: 1.7;
}


/*
|--------------------------------------------------------------------------
| Pricing Grid
|--------------------------------------------------------------------------
*/

.memberships-main .pricing-grid {
    display: grid;
    grid-template-columns:
        repeat(
            auto-fit,
            minmax(280px, 1fr)
        );

    align-items: stretch;

    gap: 20px;
}


/*
|--------------------------------------------------------------------------
| Pricing Card
|--------------------------------------------------------------------------
*/

.memberships-main .pricing-card {
    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    min-width: 0;
    min-height: 430px;

    padding: 30px;

    border: 1px solid #e2e8f0;
    border-radius: 20px;

    background: #ffffff;

    box-shadow:
        0 8px 28px
        rgba(15, 23, 42, 0.04);

    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease;
}


.memberships-main .pricing-card:hover {
    transform: translateY(-4px);

    border-color: #cbd5e1;

    box-shadow:
        0 18px 42px
        rgba(15, 23, 42, 0.08);
}


.memberships-main .pricing-card.is-featured {
    border-color: #0f172a;

    box-shadow:
        0 18px 42px
        rgba(15, 23, 42, 0.09);
}


.memberships-main .pricing-card.is-default {
    border-color: #cbd5e1;
}


/*
|--------------------------------------------------------------------------
| Pricing Badge
|--------------------------------------------------------------------------
*/

.memberships-main .pricing-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: fit-content;

    margin-bottom: 22px;

    padding: 7px 11px;

    border-radius: 999px;

    background: #0f172a;
    color: #ffffff;

    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}


/*
|--------------------------------------------------------------------------
| Pricing Typography
|--------------------------------------------------------------------------
*/

.memberships-main .pricing-card h3 {
    margin: 5px 0 11px;

    color: #0f172a;

    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.025em;
}


.memberships-main .pricing-description {
    margin: 0;

    color: #64748b;

    font-size: 0.88rem;
    line-height: 1.7;
}


.memberships-main .pricing-card-bottom {
    margin-top: 32px;
}


/*
|--------------------------------------------------------------------------
| Price
|--------------------------------------------------------------------------
*/

.memberships-main .pricing-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;

    gap: 7px;

    margin-bottom: 20px;
}


.memberships-main .pricing-price-value {
    color: #0f172a;

    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 850;
    line-height: 1;
    letter-spacing: -0.045em;
}


.memberships-main .pricing-price small {
    color: #64748b;

    font-size: 0.8rem;
    font-weight: 650;
}


/*
|--------------------------------------------------------------------------
| Commission
|--------------------------------------------------------------------------
*/

.memberships-main .pricing-commission {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 18px;

    padding: 15px 16px;

    border: 1px solid #e2e8f0;
    border-radius: 12px;

    background: #f8fafc;
}


.memberships-main .pricing-commission span {
    color: #64748b;

    font-size: 0.78rem;
    font-weight: 650;
}


.memberships-main .pricing-commission strong {
    color: #0f172a;

    font-size: 1rem;
    font-weight: 820;
}


/*
|--------------------------------------------------------------------------
| Plan Note
|--------------------------------------------------------------------------
*/

.memberships-main .pricing-plan-note {
    margin: 0 0 20px;

    padding: 13px 15px;

    border-left: 3px solid #0f172a;

    background: #f8fafc;

    color: #475569;

    font-size: 0.8rem;
    line-height: 1.6;
}


/*
|--------------------------------------------------------------------------
| Pricing Buttons
|--------------------------------------------------------------------------
*/

.memberships-main
.pricing-card
.site-primary-button {
    width: 100%;
}


/*
|--------------------------------------------------------------------------
| Content Notice
|--------------------------------------------------------------------------
*/

.memberships-main .content-notice {
    margin-top: 34px;

    padding: 28px;

    border: 1px solid #e2e8f0;
    border-radius: 18px;

    background: #ffffff;
}


.memberships-main .content-notice h2,
.memberships-main .content-notice h3 {
    margin: 7px 0 12px;

    color: #0f172a;

    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.025em;
}


.memberships-main .content-notice h2 {
    max-width: 720px;

    font-size: clamp(1.6rem, 4vw, 2.35rem);
}


.memberships-main .content-notice h3 {
    font-size: 1.35rem;
}


.memberships-main .content-notice > p {
    max-width: 720px;

    margin: 10px 0 0;

    color: #64748b;

    line-height: 1.7;
}


.membership-empty-state {
    margin-top: 0 !important;
}


/*
|--------------------------------------------------------------------------
| Content Split
|--------------------------------------------------------------------------
*/

.memberships-main .content-split {
    display: grid;
    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(320px, 0.95fr);

    align-items: start;

    gap: 70px;
}


/*
|--------------------------------------------------------------------------
| Highlight
|--------------------------------------------------------------------------
*/

.memberships-main .content-highlight {
    padding: 30px;

    border: 1px solid #334155;
    border-radius: 18px;

    background: #0f172a;
    color: #ffffff;
}


.memberships-main .content-highlight .page-eyebrow {
    color: #94a3b8;
}


.memberships-main .content-highlight h3 {
    margin: 8px 0 13px;

    color: #ffffff;

    font-size: 1.45rem;
    font-weight: 780;
    line-height: 1.25;
    letter-spacing: -0.025em;
}


.memberships-main .content-highlight p {
    margin: 0;

    color: #cbd5e1;

    font-size: 0.9rem;
    line-height: 1.7;
}


/*
|--------------------------------------------------------------------------
| FAQ
|--------------------------------------------------------------------------
*/

.membership-faq-list {
    display: grid;
    gap: 12px;

    max-width: 900px;
}


.membership-faq-list .faq-item {
    overflow: hidden;

    border: 1px solid #e2e8f0;
    border-radius: 14px;

    background: #ffffff;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.membership-faq-list .faq-item[open] {
    border-color: #cbd5e1;

    box-shadow:
        0 10px 28px
        rgba(15, 23, 42, 0.05);
}


.membership-faq-list .faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;

    padding: 20px 22px;

    color: #0f172a;

    cursor: pointer;

    list-style: none;

    font-size: 0.92rem;
    font-weight: 750;
}


.membership-faq-list
.faq-item
summary::-webkit-details-marker {
    display: none;
}


.membership-faq-list .faq-icon {
    position: relative;

    display: block;

    flex: 0 0 auto;

    width: 18px;
    height: 18px;
}


.membership-faq-list .faq-icon::before,
.membership-faq-list .faq-icon::after {
    content: "";

    position: absolute;
    top: 50%;
    left: 50%;

    width: 12px;
    height: 1.5px;

    border-radius: 999px;

    background: #0f172a;

    transform:
        translate(-50%, -50%);

    transition:
        transform 0.2s ease;
}


.membership-faq-list .faq-icon::after {
    transform:
        translate(-50%, -50%)
        rotate(90deg);
}


.membership-faq-list
.faq-item[open]
.faq-icon::after {
    transform:
        translate(-50%, -50%)
        rotate(0deg);
}


.membership-faq-list .faq-answer {
    padding:
        0
        22px
        20px;
}


.membership-faq-list .faq-answer p {
    margin: 0;

    color: #64748b;

    font-size: 0.88rem;
    line-height: 1.7;
}


.membership-faq-list .faq-answer p + p {
    margin-top: 12px;
}


/*
|--------------------------------------------------------------------------
| Page Actions
|--------------------------------------------------------------------------
*/

.memberships-main .page-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    gap: 12px;

    margin-top: 28px;
}


/*
|--------------------------------------------------------------------------
| Final CTA
|--------------------------------------------------------------------------
*/

.memberships-main .page-cta {
    padding: 74px 0;

    background: #0f172a;
    color: #ffffff;
}


.memberships-main .page-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 45px;
}


.memberships-main .page-cta .page-eyebrow {
    color: #94a3b8;
}


.memberships-main .page-cta h2 {
    max-width: 660px;

    margin: 7px 0 10px;

    color: #ffffff;

    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 820;
    line-height: 1.1;
    letter-spacing: -0.04em;
}


.memberships-main .page-cta p {
    max-width: 620px;

    margin: 0;

    color: #cbd5e1;

    line-height: 1.7;
}


.memberships-main .page-cta-actions {
    display: flex;
    flex-wrap: wrap;

    flex: 0 0 auto;

    gap: 12px;
}


.memberships-main
.page-cta
.site-primary-button {
    border-color: #ffffff;

    background: #ffffff;
    color: #0f172a;
}


.memberships-main
.page-cta
.site-secondary-button {
    border-color: #475569;

    background: transparent;
    color: #ffffff;
}


.memberships-main
.page-cta
.site-secondary-button:hover {
    border-color: #ffffff;

    background:
        rgba(255, 255, 255, 0.08);

    color: #ffffff;
}


/*
|--------------------------------------------------------------------------
| Tablet
|--------------------------------------------------------------------------
*/

@media (max-width: 992px) {

    .memberships-hero {
        padding: 68px 0 62px;
    }


    .memberships-main .content-section {
        padding: 64px 0;
    }


    .membership-benefit-grid {
        grid-template-columns: 1fr;
    }


    .memberships-main .content-split {
        grid-template-columns: 1fr;

        gap: 34px;
    }


    .memberships-main .page-cta-inner {
        align-items: flex-start;
        flex-direction: column;

        gap: 28px;
    }

}


/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 640px) {

    .memberships-hero {
        padding: 50px 0 46px;
    }


    .memberships-hero h1 {
        font-size:
            clamp(
                2.25rem,
                12vw,
                3.2rem
            );
    }


    .memberships-hero .page-hero-description {
        margin-top: 18px;

        font-size: 0.94rem;
    }


    .memberships-hero .page-hero-actions {
        align-items: stretch;
        flex-direction: column;

        margin-top: 24px;
    }


    .memberships-hero
    .page-hero-actions
    .site-primary-button,

    .memberships-hero
    .page-hero-actions
    .site-secondary-button {
        width: 100%;
    }


    .membership-navigation-link {
        min-height: 56px;

        padding: 0 16px;

        font-size: 0.76rem;
    }


    .memberships-main .content-section {
        padding: 52px 0;
    }


    .memberships-main .section-heading {
        margin-bottom: 28px;
    }


    .memberships-main .section-heading h2,
    .memberships-main .content-split-main h2 {
        font-size: 1.8rem;
    }


    .memberships-main .pricing-grid {
        grid-template-columns: 1fr;
    }


    .memberships-main .pricing-card {
        min-height: 0;

        padding: 24px;
    }


    .memberships-main .content-card {
        padding: 22px;
    }


    .memberships-main .content-highlight,
    .memberships-main .content-notice {
        padding: 24px;
    }


    .membership-faq-list .faq-item summary {
        padding: 18px;

        font-size: 0.86rem;
    }


    .membership-faq-list .faq-answer {
        padding:
            0
            18px
            18px;
    }


    .memberships-main .page-actions {
        align-items: stretch;
        flex-direction: column;
    }


    .memberships-main
    .page-actions
    .site-primary-button,

    .memberships-main
    .page-actions
    .site-secondary-button {
        width: 100%;
    }


    .memberships-main .page-cta {
        padding: 55px 0;
    }


    .memberships-main .page-cta-actions {
        align-items: stretch;
        flex-direction: column;

        width: 100%;
    }


    .memberships-main
    .page-cta-actions
    .site-primary-button,

    .memberships-main
    .page-cta-actions
    .site-secondary-button {
        width: 100%;
    }

}


/*
|--------------------------------------------------------------------------
| Reduced Motion
|--------------------------------------------------------------------------
*/

@media (prefers-reduced-motion: reduce) {

    .membership-navigation-link,
    .memberships-main .content-card,
    .memberships-main .pricing-card,
    .membership-faq-list .faq-item,
    .membership-faq-list .faq-icon::before,
    .membership-faq-list .faq-icon::after {
        transition: none;
    }


    .memberships-main .content-card:hover,
    .memberships-main .pricing-card:hover {
        transform: none;
    }

}