/* Membership page styles */

.member-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    border: 1px solid var(--cyan-dim);
    border-radius: 30px;
    font-size: 0.8rem;
    color: var(--cyan);
    margin-bottom: 1.5rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    background: rgba(0, 212, 255, 0.05);
    animation: badgeGlow 3s ease-in-out infinite;
}

/* Billing Toggle */
.billing-toggle {
    text-align: center;
    padding: 2rem 2rem 0;
}

.toggle-container {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(145deg, var(--navy-light) 0%, var(--navy) 100%);
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    border: 1px solid rgba(0, 212, 255, 0.15);
}

.toggle-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray);
    transition: color 0.3s;
    cursor: pointer;
}

.toggle-label.active {
    color: var(--cyan);
}

.toggle-switch {
    position: relative;
    width: 56px;
    height: 30px;
    background: var(--navy-mid);
    border-radius: 30px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    outline: none;
}

.toggle-switch.annual {
    background: linear-gradient(135deg, var(--gold) 0%, #b8943f 100%);
    border-color: var(--gold);
}

.toggle-knob {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: var(--white);
    border-radius: 50%;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.toggle-switch.annual .toggle-knob {
    transform: translateX(26px);
}

.toggle-savings {
    font-size: 0.8rem;
    color: var(--gold);
    font-weight: 600;
    background: rgba(197, 165, 90, 0.15);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s;
}

.toggle-savings.visible {
    opacity: 1;
}

/* Tiers Grid */
.tiers-section {
    padding-top: 2rem;
}

.tiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    max-width: 1300px;
    margin: 0 auto;
}

.tier-card {
    background: linear-gradient(145deg, var(--navy-light) 0%, var(--navy) 100%);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.tier-card:hover {
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 212, 255, 0.12);
}

.tier-card.tier-verified {
    border-color: rgba(16, 185, 129, 0.4);
    background: linear-gradient(145deg, #0f2a1f 0%, #0a1a15 100%);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.08);
}

.tier-card.tier-verified:hover {
    border-color: rgba(16, 185, 129, 0.6);
    box-shadow: 0 20px 50px rgba(16, 185, 129, 0.15);
}

.tier-card.tier-verified .price-amount {
    color: #10b981;
}

.tier-card.tier-verified .tier-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
}

.tier-card.tier-verified .tier-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.tier-card.tier-nonprofit {
    border-color: rgba(99, 102, 241, 0.4);
    background: linear-gradient(145deg, #1a1a3e 0%, #12122a 100%);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.08);
}

.tier-card.tier-nonprofit:hover {
    border-color: rgba(99, 102, 241, 0.6);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.15);
}

.tier-nonprofit-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.tier-card.tier-nonprofit .price-amount {
    color: #818cf8;
}

.btn-nonprofit {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%) !important;
    color: white !important;
    border: none !important;
}

.btn-nonprofit:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%) !important;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4) !important;
}

.btn-nonprofit-gold {
    background: linear-gradient(135deg, #6366f1 0%, #c5a55a 100%) !important;
    color: white !important;
    border: none !important;
}

.btn-nonprofit-gold:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #b8943f 100%) !important;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4), 0 4px 15px rgba(197, 165, 90, 0.3) !important;
}

.tier-card.tier-popular {
    border-color: rgba(197, 165, 90, 0.4);
    background: linear-gradient(145deg, #1a2a4a 0%, #0f1a30 100%);
    box-shadow: 0 0 30px rgba(197, 165, 90, 0.1);
}

.tier-card.tier-popular:hover {
    border-color: rgba(197, 165, 90, 0.6);
    box-shadow: 0 20px 50px rgba(197, 165, 90, 0.2);
}

.tier-card.tier-premium {
    border-color: rgba(197, 165, 90, 0.3);
}

.tier-popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--gold) 0%, #b8943f 100%);
    color: var(--navy);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.tier-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.tier-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.tier-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.3rem;
}

.tier-subtitle {
    font-size: 0.85rem;
    color: var(--gray-dim);
}

.tier-price {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 0.75rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--cyan);
}

.tier-card.tier-popular .price-amount {
    color: var(--gold);
}

.tier-card.tier-premium .price-amount {
    color: var(--gold);
}

.price-period {
    font-size: 1rem;
    color: var(--gray);
    font-weight: 400;
}

.price-annual-note {
    display: block;
    font-size: 0.8rem;
    color: var(--gold);
    margin-top: 0.25rem;
    min-height: 1.2em;
}

.tier-benefits {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
    flex: 1;
}

.tier-benefits li {
    padding: 0.35rem 0;
    font-size: 0.9rem;
    color: var(--gray);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.tier-benefits li.benefit-gift {
    color: var(--white);
    font-weight: 500;
}

.tier-benefits li.benefit-gift strong {
    color: var(--cyan);
}

.tier-card.tier-popular .tier-benefits li.benefit-gift strong {
    color: var(--gold);
}

.tier-fmv {
    font-size: 0.75rem;
    color: var(--gray-dim);
    text-align: center;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.tier-btn {
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

/* Comparison Table */
.comparison-section {
    padding-top: 2rem;
}

.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.comparison-table thead {
    background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy-mid) 100%);
}

.comparison-table th {
    padding: 1rem 0.75rem;
    text-align: center;
    color: var(--cyan);
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
    border-bottom: 1px solid rgba(0, 212, 255, 0.15);
}

.comparison-table th:first-child {
    text-align: left;
}

.comparison-table td {
    padding: 0.65rem 0.75rem;
    text-align: center;
    color: var(--gray);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.comparison-table td:first-child {
    text-align: left;
    color: var(--white);
    font-weight: 500;
}

.comparison-table .highlight-col {
    background: rgba(197, 165, 90, 0.08);
    color: var(--gold);
}

.comparison-table th.highlight-col {
    background: rgba(197, 165, 90, 0.15);
    color: var(--gold);
}

.comparison-table tbody tr:hover {
    background: rgba(0, 212, 255, 0.03);
}

.comparison-table .tax-row {
    background: rgba(16, 185, 129, 0.05);
}

.comparison-table .tax-row td {
    color: var(--success);
    font-weight: 600;
}

/* Gift Opt-Out */
.gift-optout {
    background: linear-gradient(145deg, var(--navy-light) 0%, var(--navy) 100%);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid rgba(0, 212, 255, 0.15);
}

.gift-optout h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.gift-optout p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.gift-optout-example {
    font-size: 0.9rem !important;
    color: var(--cyan) !important;
    background: rgba(0, 212, 255, 0.05);
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid var(--cyan);
}

/* FAQ */
.faq-section {
    padding-top: 2rem;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: linear-gradient(145deg, var(--navy-light) 0%, var(--navy) 100%);
    border-radius: 12px;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(0, 212, 255, 0.08);
    overflow: hidden;
    transition: border-color 0.3s;
}

.faq-item:hover {
    border-color: rgba(0, 212, 255, 0.2);
}

.faq-item summary {
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--white);
    font-size: 0.95rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.2rem;
    color: var(--cyan);
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item[open] summary {
    color: var(--cyan);
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.faq-item p {
    padding: 1rem 1.5rem 1.2rem;
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* Merch Showcase */
.merch-section {
    padding-top: 2rem;
}

.merch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.merch-card {
    background: linear-gradient(145deg, var(--navy-light) 0%, var(--navy) 100%);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    border: 1px solid rgba(0, 212, 255, 0.1);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.merch-card:hover {
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.12);
}

.merch-card.merch-exclusive {
    border-color: rgba(197, 165, 90, 0.3);
    background: linear-gradient(145deg, #1a2a4a 0%, #0f1a30 100%);
}

.merch-card.merch-exclusive:hover {
    border-color: rgba(197, 165, 90, 0.5);
    box-shadow: 0 15px 40px rgba(197, 165, 90, 0.15);
}

.merch-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--gold) 0%, #b8943f 100%);
    color: var(--navy);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.8rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.merch-image {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.merch-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.merch-desc {
    font-size: 0.88rem;
    color: var(--gray);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.merch-desc strong {
    color: var(--cyan);
}

.merch-card.merch-exclusive .merch-desc strong {
    color: var(--gold);
}

.merch-fmv {
    font-size: 0.8rem;
    color: var(--success);
    background: rgba(16, 185, 129, 0.1);
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
}

.merch-note {
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(145deg, var(--navy-light) 0%, var(--navy) 100%);
    border-radius: 12px;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.merch-note p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.merch-note strong {
    color: var(--cyan);
}

.merch-note p:last-child {
    margin-bottom: 0;
}

.btn-verified {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-verified:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    transform: translateY(-2px);
}

.btn-verified:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Mobile */
@media (max-width: 768px) {
    .tiers-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .toggle-container {
        gap: 0.5rem;
        padding: 0.5rem 1rem;
    }

    .toggle-savings {
        display: none;
    }

    .toggle-savings.visible {
        display: none;
    }

    .billing-toggle .toggle-savings-mobile {
        display: block;
        text-align: center;
        margin-top: 0.5rem;
    }

    .comparison-table {
        font-size: 0.75rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.5rem 0.4rem;
    }

    .gift-optout {
        padding: 1.5rem;
    }

    .price-amount {
        font-size: 2rem;
    }
}

@media (min-width: 769px) {
    .billing-toggle .toggle-savings-mobile {
        display: none;
    }
}
/* Nonprofit tier table columns */
.np-col {
    background: rgba(99, 102, 241, 0.08) !important;
    color: #818cf8;
}

.np-col strong {
    color: #a5b4fc;
}

.comparison-table .np-col {
    background: rgba(99, 102, 241, 0.06);
}

/* Custom Amount Tier */
.tier-card.tier-custom {
    border-color: rgba(197, 165, 90, 0.3);
    background: linear-gradient(145deg, #1a1f2e 0%, #0f1320 100%);
    border-style: dashed;
}

.tier-card.tier-custom:hover {
    border-color: rgba(197, 165, 90, 0.6);
    box-shadow: 0 20px 50px rgba(197, 165, 90, 0.15);
}

.tier-card.tier-custom .price-amount {
    background: linear-gradient(135deg, var(--gold), #e8d590);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.custom-amount-input {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.custom-amount-input label {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gold);
}

.custom-amount-input input[type="number"] {
    width: 80px;
    padding: 0.5rem;
    border: 1px solid rgba(197, 165, 90, 0.4);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.3);
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    -moz-appearance: textfield;
}

.custom-amount-input input[type="number"]::-webkit-inner-spin-button,
.custom-amount-input input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.custom-amount-input input[type="number"]:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 10px rgba(197, 165, 90, 0.3);
}

.custom-amount-input span {
    font-size: 0.9rem;
    color: var(--gray);
}

.custom-submit {
    width: 100%;
    margin-top: 0.5rem;
}
