/* WeatherPro Monetization Styles */

/* Upgrade Modal */
.upgrade-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.upgrade-modal.active {
    opacity: 1;
    visibility: visible;
}

.upgrade-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    color: white;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.upgrade-modal.active .upgrade-content {
    transform: scale(1);
}

.upgrade-header {
    margin-bottom: 30px;
}

.upgrade-header i {
    font-size: 3rem;
    color: #ffd700;
    margin-bottom: 15px;
    display: block;
}

.upgrade-header h3 {
    font-size: 1.8rem;
    margin: 0;
    font-weight: 600;
}

.upgrade-body {
    text-align: left;
    margin-bottom: 30px;
}

.upgrade-body p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-align: center;
}

.premium-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.premium-features li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 1rem;
}

.premium-features i {
    color: #4ade80;
    margin-right: 12px;
    font-size: 1.1rem;
}

.pricing {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}

.price-tag {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 10px;
}

.currency {
    font-size: 1.5rem;
    font-weight: 500;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    margin: 0 5px;
}

.period {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
}

.price-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.upgrade-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.upgrade-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 150px;
    justify-content: center;
}

.upgrade-btn.premium {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #1a202c;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.upgrade-btn.premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4);
}

.upgrade-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.upgrade-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.close-modal:hover {
    opacity: 1;
}

/* Usage Warning */
.usage-warning {
    background: linear-gradient(45deg, #f59e0b, #d97706);
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 10px 0;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(245, 158, 11, 0.3);
}

.usage-warning i {
    font-size: 1.2rem;
}

.usage-warning button {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.usage-warning button:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Premium Badge */
.premium-badge {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #1a202c;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: 10px;
}

.premium-badge i {
    color: #d97706;
}

/* Feature Lock Overlay */
.feature-locked {
    position: relative;
    opacity: 0.6;
    pointer-events: none;
}

.feature-locked::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    border-radius: inherit;
}

.lock-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 215, 0, 0.9);
    color: #1a202c;
    padding: 10px;
    border-radius: 50%;
    font-size: 1.2rem;
    z-index: 10;
}

/* Responsive Design */
@media (max-width: 768px) {
    .upgrade-content {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .upgrade-actions {
        flex-direction: column;
    }
    
    .upgrade-btn {
        width: 100%;
    }
    
    .price-tag .amount {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .upgrade-content {
        padding: 25px 15px;
    }
    
    .upgrade-header h3 {
        font-size: 1.5rem;
    }
    
    .premium-features {
        font-size: 0.9rem;
    }
}
