/* Pricing Component Styles */
.pricing-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.pricing-popup.show {
    opacity: 1;
    visibility: visible;
}

.pricing-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.pricing-container {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #191A1A;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 4rem 2rem 2rem 2rem;
    overflow-y: auto;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.pricing-popup.show .pricing-container {
    transform: translateY(0);
}

.pricing-close-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: #8E8E8E;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: color 0.2s ease;
}

.pricing-close-btn:hover {
    color: #FFFFFF;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    max-width: 800px;
    width: 100%;
}

.pricing-header h1 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #FFFFFF;
}

.plan-toggle {
    display: inline-flex;
    background-color: #1F2020;
    border-radius: 8px;
    padding: 4px;
}

.toggle-btn {
    background-color: transparent;
    border: none;
    color: #8e8e8e;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.toggle-btn.active {
    background-color: #3e3e3e;
    color: #FFFFFF;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 800px;
    width: 100%;
}

.plan-card {
    background-color: transparent;
    border: none;
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    text-align: left;
    pointer-events: none;
    transition: none;
}

.plan-card:hover {
    transform: none;
    box-shadow: none;
}

.plan-card.popular {
    background-color: #1F2020;
    border: 1px solid #3e3e3e;
    opacity: 1;
    pointer-events: auto;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.plan-card.popular:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.plan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.plan-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #FFFFFF;
}

.popular-badge {
    background-color: #3e3e3e;
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    text-transform: uppercase;
}

.plan-price {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
}

.plan-price .dollar {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 0.5rem;
    margin-right: 0.25rem;
    color: #FFFFFF;
}

.plan-price .amount {
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1;
    color: #FFFFFF;
    transition: all 0.3s ease;
}

.plan-price .period {
    font-size: 0.875rem;
    color: #8E8E8E;
    margin-left: 0.5rem;
    margin-top: 0.75rem;
    line-height: 1.2;
}

.plan-description {
    color: #8E8E8E;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.plan-button {
    width: 100%;
    padding: 0.85rem;
    border-radius: 8px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 2rem;
    transition: all 0.2s ease;
}

.plan-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.plan-button.primary {
    background-color: #FFFFFF;
    color: #000000;
}

.plan-button.secondary {
    background-color: transparent;
    color: #8e8e8e;
    border: none;
    cursor: default;
    opacity: 0.6;
}

.plan-button.secondary:hover {
    transform: none;
    box-shadow: none;
}

.features-list {
    list-style: none;
    flex-grow: 1;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #FFFFFF;
    opacity: 0;
    transform: translateX(-10px);
    animation: slideInLeft 0.3s ease forwards;
}

.features-list li:nth-child(1) { animation-delay: 0.1s; }
.features-list li:nth-child(2) { animation-delay: 0.15s; }
.features-list li:nth-child(3) { animation-delay: 0.2s; }
.features-list li:nth-child(4) { animation-delay: 0.25s; }
.features-list li:nth-child(5) { animation-delay: 0.3s; }
.features-list li:nth-child(6) { animation-delay: 0.35s; }
.features-list li:nth-child(7) { animation-delay: 0.4s; }
.features-list li:nth-child(8) { animation-delay: 0.45s; }
.features-list li:nth-child(9) { animation-delay: 0.5s; }

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.features-list li .fa-solid {
    color: #8E8E8E;
    width: 20px;
    text-align: center;
}

.pricing-footer {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.8rem;
    color: #8E8E8E;
}

.pricing-footer a {
    color: #8E8E8E;
    text-decoration: underline;
}

/* Custom Scrollbar Styling */
.pricing-container::-webkit-scrollbar {
    width: 8px;
}

.pricing-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.pricing-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    transition: background 0.2s ease;
}

.pricing-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Firefox scrollbar */
.pricing-container {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) rgba(255, 255, 255, 0.05);
}

/* Responsive Design for Pricing */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .pricing-container {
        padding: 1rem;
    }
    .pricing-close-btn {
        top: 1rem;
        right: 1rem;
    }
}
