/* Pricing modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #1e1e1e;
    margin: 5% auto;
    padding: 30px;
    border: 1px solid #2ecc71;
    border-radius: 10px;
    width: 80%;
    max-width: 900px;
    position: relative;
    animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
    from {opacity: 0; transform: translateY(-50px);}
    to {opacity: 1; transform: translateY(0);}
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #2ecc71;
}

.pricing-plans {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    gap: 20px;
}

.plan {
    flex: 1;
    background: #2d2d2d;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #333;
    transition: all 0.3s;
    position: relative;
}

.plan:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: #2ecc71;
}

.recommended {
    border: 2px solid #2ecc71;
    transform: scale(1.05);
}

.recommended-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: #2ecc71;
    color: #111;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 12px;
}

.plan h3 {
    color: #fff;
    font-size: 22px;
    margin-bottom: 15px;
}

.price {
    color: #2ecc71;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
}

.price span {
    font-size: 16px;
    color: #aaa;
}

.features {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.features li {
    color: #ddd;
    padding: 8px 0;
    border-bottom: 1px solid #333;
}

.select-btn {
    width: 100%;
    padding: 12px;
    background: #2ecc71;
    color: #111;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.select-btn:hover {
    background: #27ae60;
    transform: translateY(-2px);
}

/* Billing toggle styles */
.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
    color: #aaa;
}

.toggle-options {
    display: flex;
    background: #2d2d2d;
    border-radius: 30px;
    padding: 3px;
    border: 1px solid #444;
}

.toggle-option {
    padding: 8px 20px;
    border: none;
    background: transparent;
    color: #aaa;
    cursor: pointer;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.3s;
}

.toggle-option.active {
    background: #2ecc71;
    color: #111;
}

.price {
    position: relative;
}

.yearly-price {
    color: #2ecc71;
}

.modal-content {
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease-out;
}

.modal-content.animate-in {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 992px) {
    .pricing-plans {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pricing-plans {
        flex-direction: column;
    }
    
    .recommended {
        transform: none;
    }
    
    .modal-content {
        width: 90%;
        margin: 10% auto;
    }
}

@media (max-width: 576px) {
    .pricing-plans {
        grid-template-columns: 1fr;
    }
    
    .billing-toggle {
        flex-direction: column;
    }
}