/* ==========================================================================
   NACS Show 2026 - Price Card Component
   Pricing section with collapsible cards and expandable feature lists
   Tokens: NACSShow2026Tokens.css
   ========================================================================== */

/* --------------------------------------------------------------------------
   Section Container
   -------------------------------------------------------------------------- */
.pc {
    background: #FFFFFF;
    padding: 88px 80px;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 48px;
    align-items: flex-start;
}

/* --------------------------------------------------------------------------
   Section Header (Eyebrow + Heading + Description)
   -------------------------------------------------------------------------- */
.pc__header {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: flex-start;
    width: 100%;
}

.pc__eyebrow {
    display: flex;
    gap: 10px;
    align-items: center;
}

.pc__eyebrow-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #78BE20, #00A82D);
    flex-shrink: 0;
}

.pc__eyebrow-text {
    font-family: var(--nacs-font-gotham);
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--nacs-color-navy, #00205B);
}

.pc__title {
    font-family: var(--nacs-font-gotham);
    font-weight: 700;
    font-size: 64px;
    line-height: 72px;
    letter-spacing: 0;
    text-transform: capitalize;
    color: var(--nacs-color-navy, #00205B);
    margin: 0;
}

.pc__desc {
    font-family: var(--nacs-font-gotham);
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0;
    color: #000000;
    margin: 0;
}

/* --------------------------------------------------------------------------
   Member Price Toggle
   -------------------------------------------------------------------------- */
.pc__toggle-anchor {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.pc__toggle-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(241, 241, 241, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 720px;
    padding: 12px 32px;
}

.pc__toggle-switch {
    position: relative;
    width: 40px;
    height: 20px;
    flex-shrink: 0;
}

.pc__toggle-track {
    position: absolute;
    top: 4px;
    left: 6px;
    width: 28px;
    height: 12px;
    background: #00A82D;
    border-radius: 375px;
}

.pc__toggle-knob {
    position: absolute;
    top: 2px;
    left: 20px;
    width: 17px;
    height: 17px;
    background: #00A82D;
    border-radius: 50%;
}

.pc__toggle-label {
    font-family: var(--nacs-font-gotham);
    font-weight: 700;
    font-size: 16px;
    line-height: 18px;
    letter-spacing: 0;
    color: #000000;
}

/* --------------------------------------------------------------------------
   Cards Container
   -------------------------------------------------------------------------- */
.pc__cards {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    width: 100%;
}

/* --------------------------------------------------------------------------
   Individual Card
   -------------------------------------------------------------------------- */
.pc__card {
    flex: 1;
    min-width: 0;
    background: #F1F1F1;
    border-radius: 4px;
    padding: 16px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

/* Featured card: gradient background */
.pc__card--featured {
    background: linear-gradient(180deg, #D9017F 0.295%, #FBB116 121.01%);
}

/* --------------------------------------------------------------------------
   Card Header
   -------------------------------------------------------------------------- */
.pc__card-header {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 16px 0 24px 0;
    cursor: default;
}

.pc__card-header-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pc__card-title {
    font-family: var(--nacs-font-gotham);
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
    letter-spacing: 0;
    text-transform: capitalize;
    color: var(--nacs-color-navy, #00205B);
    margin: 0;
}

.pc__card-subtitle {
    font-family: var(--nacs-font-gotham);
    font-weight: 400;
    font-size: 16px;
    line-height: 18px;
    letter-spacing: 0;
    color: var(--nacs-color-navy, #00205B);
    margin: 0;
}

/* Featured card: white text */
.pc__card--featured .pc__card-title,
.pc__card--featured .pc__card-subtitle {
    color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   Card Chevron Toggle (mobile only - hidden on desktop)
   -------------------------------------------------------------------------- */
.pc__card-chevron {
    display: none; /* hidden on desktop */
    align-items: center;
    justify-content: center;
    padding: 4px;
    border-radius: 360px;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
}

.pc__card-chevron svg {
    width: 24px;
    height: 24px;
    display: block;
}

/* Collapsed: yellow bg, down arrow */
.pc__card-chevron-closed {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pc__card-chevron-open {
    display: none;
}

.pc__card-chevron {
    background: var(--nacs-color-yellow, #FAE100);
}

/* Expanded: dark bg, white up arrow (rotated) */
.pc__card--expanded .pc__card-chevron {
    background: linear-gradient(180deg, #21243B 0%, #000000 100%);
}

.pc__card--expanded .pc__card-chevron-closed {
    display: none;
}

.pc__card--expanded .pc__card-chevron-open {
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(180deg);
}

/* --------------------------------------------------------------------------
   Card Body (Price Tiers) - always visible on desktop
   -------------------------------------------------------------------------- */
.pc__card-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* --------------------------------------------------------------------------
   Price Tier
   -------------------------------------------------------------------------- */
.pc__tier {
    background: #FFFFFF;
    border-radius: 4px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pc__tier-row {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    width: 100%;
}

.pc__tier-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.pc__tier-name {
    font-family: var(--nacs-font-gotham);
    font-weight: 700;
    font-size: 16px;
    line-height: 18px;
    letter-spacing: 0;
    color: #000000;
    margin: 0;
}

.pc__tier-savings {
    font-family: var(--nacs-font-gotham);
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 0;
    color: #000000;
    margin: 0;
}

.pc__tier-price {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    flex-shrink: 0;
}

.pc__tier-current {
    font-family: var(--nacs-font-gotham);
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0;
    text-transform: capitalize;
    color: #000000;
}

.pc__tier-original {
    font-family: var(--nacs-font-gotham);
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #818181;
    text-decoration: line-through;
}

/* --------------------------------------------------------------------------
   Key Features Dropdown
   -------------------------------------------------------------------------- */
.pc__features {
    border-radius: 4px;
    overflow: hidden;
}

/* Features header bar */
.pc__features-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px;
    width: 100%;
    background: #F1F1F1;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.pc__features-label {
    font-family: var(--nacs-font-gotham);
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0;
    color: #000000;
    text-align: left;
}

/* Closed label visible, open label hidden */
.pc__features-label--open {
    display: none;
}

/* Features toggle icon */
.pc__features-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border-radius: 360px;
    flex-shrink: 0;
}

.pc__features-icon svg {
    width: 24px;
    height: 24px;
    display: block;
}

.pc__features-icon--closed {
    background: var(--nacs-color-yellow, #FAE100);
}

.pc__features-icon--open {
    display: none;
    background: #000000;
    transform: rotate(180deg);
}

/* Features list (hidden by default) */
.pc__features-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 8px;
}

/* --------------------------------------------------------------------------
   Features - Open State
   -------------------------------------------------------------------------- */
.pc__features--open .pc__features-header {
    background: var(--nacs-color-yellow, #FAE100);
    border-radius: 4px 4px 0 0;
}

.pc__features--open .pc__features-label--closed {
    display: none;
}

.pc__features--open .pc__features-label--open {
    display: inline;
    font-weight: 500;
    text-transform: uppercase;
}

.pc__features--open .pc__features-icon--closed {
    display: none;
}

.pc__features--open .pc__features-icon--open {
    display: flex;
}

.pc__features--open .pc__features-list {
    max-height: 1200px;
    padding: 16px 8px;
    background: #FBFBFB;
}

/* --------------------------------------------------------------------------
   Feature Item (checkmark + text)
   -------------------------------------------------------------------------- */
.pc__features-item {
    display: flex;
    gap: 15px;
    align-items: center;
    width: 100%;
    padding: 8px 0;
}

.pc__features-check {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.pc__features-text {
    flex: 1;
    font-family: var(--nacs-font-gotham);
    font-weight: 400;
    font-size: 16px;
    line-height: 18px;
    letter-spacing: 0;
    color: #000000;
}

/* Section heading inside the features list (no check icon) */
.pc__features-heading {
    width: 100%;
    padding: 12px 0 4px;
    font-family: var(--nacs-font-gotham);
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 0;
    color: #000000;
}

.pc__features-heading:first-child {
    padding-top: 0;
}

/* --------------------------------------------------------------------------
   Card Footer (CTA Button)
   -------------------------------------------------------------------------- */
.pc__card-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 16px;
}

.pc__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    padding: 0 20px;
    border-radius: 360px;
    background: var(--nacs-color-yellow, #FAE100);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex-shrink: 0;
}

.pc__btn:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.pc__btn span {
    font-family: var(--nacs-font-gotham);
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--nacs-color-navy, #00205B);
    white-space: nowrap;
}

.pc__btn svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Mobile Styles (max-width: 768px)
   -------------------------------------------------------------------------- */
@media screen and (max-width: 768px) {
    .pc {
        padding: 40px 20px;
        gap: 48px;
    }

    .pc__header {
        gap: 40px;
    }

    .pc__title {
        font-size: 48px;
        line-height: 56px;
    }

    .pc__desc {
        font-size: 18px;
        line-height: 24px;
    }

    /* Cards stack vertically */
    .pc__cards {
        flex-direction: column;
        gap: 20px;
    }

    .pc__card {
        width: 100%;
    }

    /* Show card chevron toggle on mobile */
    .pc__card-chevron {
        display: flex;
    }

    .pc__card-header {
        cursor: pointer;
    }

    /* Hide card body when collapsed on mobile */
    .pc__card-body {
        display: none;
    }

    .pc__card--expanded .pc__card-body {
        display: flex;
    }
}

@media screen and (max-width: 480px) {
    .pc__title {
        font-size: 40px;
        line-height: 48px;
    }

    .pc__toggle-pill {
        padding: 10px 24px;
    }

    .pc__toggle-label {
        font-size: 14px;
    }
}
